nixpkgs/pkgs/tools/misc/czkawka/default.nix

46 lines
816 B
Nix
Raw Normal View History

2021-03-15 16:53:55 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, glib
, cairo
, pango
, gdk-pixbuf
, atk
, gtk3
}:
rustPlatform.buildRustPackage rec {
pname = "czkawka";
2021-05-09 04:02:10 +01:00
version = "3.1.0";
2021-03-15 16:53:55 +00:00
src = fetchFromGitHub {
owner = "qarmin";
repo = pname;
rev = version;
2021-05-09 04:02:10 +01:00
sha256 = "sha256-LtGgpfToQUNKM1hmMPW7UrS/n7iyI+dz2vbSo+GOcRg=";
2021-03-15 16:53:55 +00:00
};
2021-05-09 04:02:10 +01:00
cargoSha256 = "sha256-ZbyoCo1n4GRBkb5SClby5V51rLN1PnvCHD30TiJU2gY=";
2021-03-15 16:53:55 +00:00
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 ];
};
}