diff options
author | Antonio Yang <yanganto@gmail.com> | 2021-03-16 00:53:55 +0800 |
---|---|---|
committer | Antonio Yang <yanganto@gmail.com> | 2021-03-16 15:44:04 +0800 |
commit | 8483e9b3870a7d08854bc0ca4c1ca07da881cc8b (patch) | |
tree | 1fae94e71e8b7a6571be5f8fb63d06d797f1571f /pkgs/tools/misc/czkawka | |
parent | ada691026aa424d7748ceae3c8adf94a3a362ba5 (diff) |
czkawka: init at 3.0.0
Diffstat (limited to 'pkgs/tools/misc/czkawka')
-rw-r--r-- | pkgs/tools/misc/czkawka/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/misc/czkawka/default.nix b/pkgs/tools/misc/czkawka/default.nix new file mode 100644 index 0000000000000..29748f781be30 --- /dev/null +++ b/pkgs/tools/misc/czkawka/default.nix @@ -0,0 +1,45 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, glib +, cairo +, pango +, gdk-pixbuf +, atk +, gtk3 +}: + +rustPlatform.buildRustPackage rec { + pname = "czkawka"; + version = "3.0.0"; + + src = fetchFromGitHub { + owner = "qarmin"; + repo = pname; + rev = version; + sha256 = "1g5a9ns5lkiyk6hjsh08hgs41538dzj0a4lgn2c5cbad5psl0xa6"; + }; + + cargoSha256 = "11ym2d7crp12w91111s3rv0gklkg2bzlq9g24cws4h7ipi0zfx5h"; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + glib + cairo + pango + gdk-pixbuf + atk + gtk3 + ]; + + 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 ]; + }; +} |