3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/czkawka/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
965 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
, testers
, czkawka
2021-03-15 16:53:55 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "czkawka";
2022-01-19 22:06:59 +00:00
version = "4.0.0";
2021-03-15 16:53:55 +00:00
src = fetchFromGitHub {
owner = "qarmin";
repo = "czkawka";
2021-03-15 16:53:55 +00:00
rev = version;
2022-01-19 22:06:59 +00:00
sha256 = "sha256-UIgyKWMVSKAgUNqfxFYSfP+l9x52XAzrXr1nnfKub9I=";
2021-03-15 16:53:55 +00:00
};
2022-01-19 22:06:59 +00:00
cargoSha256 = "sha256-jPrkNKFmdVk3LEa20jtXSx+7S98fSrX7Rt/lexC0Gwo=";
2021-03-15 16:53:55 +00:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
glib
cairo
pango
gdk-pixbuf
atk
gtk3
];
passthru.tests.version = testers.testVersion {
package = czkawka;
command = "czkawka_cli --version";
};
2021-03-15 16:53:55 +00:00
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 _0x4A6F ];
2021-03-15 16:53:55 +00:00
};
}