diff options
author | Aaron Jheng <wentworth@outlook.com> | 2023-08-14 12:25:02 +0800 |
---|---|---|
committer | Aaron Jheng <wentworth@outlook.com> | 2023-08-15 11:21:50 +0800 |
commit | 0e0f04c01915d3499776e487bff6b99a8f6869fc (patch) | |
tree | 35250eedad985d996f1441fa2a6d247a8a11aaac /pkgs/tools/system/gptman | |
parent | 85efefd8f44f444794fff7e8edfdfdf95dc7c645 (diff) |
gptman: 0.8.3 -> 1.0.1
Diffstat (limited to 'pkgs/tools/system/gptman')
-rw-r--r-- | pkgs/tools/system/gptman/default.nix | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/tools/system/gptman/default.nix b/pkgs/tools/system/gptman/default.nix index db15f8b02522d..8c4d650105351 100644 --- a/pkgs/tools/system/gptman/default.nix +++ b/pkgs/tools/system/gptman/default.nix @@ -1,23 +1,29 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, testers, gptman }: rustPlatform.buildRustPackage rec { pname = "gptman"; - version = "0.8.3"; + version = "1.0.1"; src = fetchFromGitHub { - owner = "cecton"; + owner = "rust-disk-partition-management"; repo = pname; rev = "v${version}"; - sha256 = "sha256-hI3F1E1vdbNDEeJ4FrU0EvR0t64svzUIpI6zaf0CquM="; + hash = "sha256-sDRnvF/XPXgWIIIrOmnEuktP8XvZxPahF2n4h8RCX+o="; }; - cargoSha256 = "sha256-3PRGPZGymccRo9dtQZgMMEL29x+GiUkTzgc8uAB/ocQ="; + cargoHash = "sha256-voslPSh7n31cGTKaayKXomgiXWVTutuc4FxfnZUDejc="; buildInputs = lib.optional stdenv.isDarwin libiconv; + buildFeatures = [ "cli" ]; + + passthru.tests.version = testers.testVersion { + package = gptman; + }; + meta = with lib; { - description = "A CLI tool for Linux to copy a partition from one disk to another and more."; - homepage = "https://github.com/cecton/gptman"; + description = "A GPT manager that allows you to copy partitions from one disk to another and more"; + homepage = "https://github.com/rust-disk-partition-management/gptman"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ akshgpt7 ]; }; |