nixpkgs/pkgs/tools/misc/czkawka/default.nix
2021-03-16 15:44:04 +08:00

46 lines
818 B
Nix

{ 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 ];
};
}