depot/third_party/nixpkgs/pkgs/tools/misc/szyszka/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

48 lines
837 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, glib
, cairo
, pango
, atk
, gdk-pixbuf
, gtk4
, wrapGAppsHook4
}:
rustPlatform.buildRustPackage rec {
pname = "szyszka";
version = "3.0.0";
src = fetchFromGitHub {
owner = "qarmin";
repo = "szyszka";
rev = version;
hash = "sha256-LkXGKDFKaY+mg53ZEO4h2br/4eRle/QbSQJTVEMpAoY=";
};
cargoHash = "sha256-WJR1BogNnQoZeOt5yBFzjYNZS8OmE84R1FbQpHTb7V0=";
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
cairo
pango
atk
gdk-pixbuf
gtk4
];
meta = with lib; {
description = "A simple but powerful and fast bulk file renamer";
homepage = "https://github.com/qarmin/szyszka";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
mainProgram = "szyszka";
};
}