about summary refs log tree commit diff
path: root/pkgs/tools/misc/czkawka
diff options
context:
space:
mode:
author0x4A6F <0x4A6F@users.noreply.github.com>2021-11-21 03:12:40 +0100
committerGitHub <noreply@github.com>2021-11-20 18:12:40 -0800
commit255c2849248e331d7f0e56a041b80e0014a19177 (patch)
tree36a1e5f5d87e915b5e45f2dc61cec87d821fb33c /pkgs/tools/misc/czkawka
parent7464e88b0d6dcb782e1807e35d529eb60f4c2547 (diff)
czkawka: 0.3.2 -> 0.3.3 (#146757)
* czkawka: add myself as maintainer

* czkawka: 3.2.0 -> 3.3.0

* czkawka: add testVersion
Diffstat (limited to 'pkgs/tools/misc/czkawka')
-rw-r--r--pkgs/tools/misc/czkawka/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/tools/misc/czkawka/default.nix b/pkgs/tools/misc/czkawka/default.nix
index 9ff6a7aaa9aa9..f2a046322d801 100644
--- a/pkgs/tools/misc/czkawka/default.nix
+++ b/pkgs/tools/misc/czkawka/default.nix
@@ -8,20 +8,22 @@
 , gdk-pixbuf
 , atk
 , gtk3
+, testVersion
+, czkawka
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "czkawka";
-  version = "3.2.0";
+  version = "3.3.0";
 
   src = fetchFromGitHub {
     owner = "qarmin";
-    repo = pname;
+    repo = "czkawka";
     rev = version;
-    sha256 = "sha256-OBe6nk5C3kO5Lkas9+G+VY3xAzY7SWx8W5CkSbaYJ9Y=";
+    sha256 = "0mikgnsqxj8dgapr2k7i9i8mmsza15kp4nasyd6l1vp2cqy8aki6";
   };
 
-  cargoSha256 = "sha256-Jghkf1mX5ic7zB2KmtOZbSxgF8C6KjRdGG1Yt+dzylI=";
+  cargoSha256 = "009zfy4lk8y51h1wi71mrjp6kc7xnk3r8jlbxvhyqslhqd9w10fv";
 
   nativeBuildInputs = [
     pkg-config
@@ -36,10 +38,15 @@ rustPlatform.buildRustPackage rec {
     gtk3
   ];
 
+  passthru.tests.version = testVersion {
+    package = czkawka;
+    command = "czkawka_cli --version";
+  };
+
   meta = with lib; {
     description = "A simple, fast and easy to use app to remove unnecessary files from your computer";
     homepage = "https://github.com/qarmin/czkawka";
     license = with licenses; [ mit ];
-    maintainers = with maintainers; [ yanganto ];
+    maintainers = with maintainers; [ yanganto _0x4A6F ];
   };
 }