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

46 lines
816 B
Nix
Raw Normal View History

2021-03-15 17:53:55 +01:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, glib
, cairo
, pango
, gdk-pixbuf
, atk
, gtk3
}:
rustPlatform.buildRustPackage rec {
pname = "czkawka";
2021-08-08 11:44:47 +02:00
version = "3.2.0";
2021-03-15 17:53:55 +01:00
src = fetchFromGitHub {
owner = "qarmin";
repo = pname;
rev = version;
2021-08-08 11:44:47 +02:00
sha256 = "sha256-OBe6nk5C3kO5Lkas9+G+VY3xAzY7SWx8W5CkSbaYJ9Y=";
2021-03-15 17:53:55 +01:00
};
2021-08-08 11:44:47 +02:00
cargoSha256 = "sha256-Jghkf1mX5ic7zB2KmtOZbSxgF8C6KjRdGG1Yt+dzylI=";
2021-03-15 17:53:55 +01: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 ];
};
}