2021-08-05 21:33:18 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
|
|
|
, cairo
|
|
|
|
, pango
|
|
|
|
, atk
|
|
|
|
, gdk-pixbuf
|
2023-10-09 19:29:22 +00:00
|
|
|
, gtk4
|
|
|
|
, wrapGAppsHook
|
2021-08-05 21:33:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "szyszka";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "3.0.0";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qarmin";
|
2023-10-09 19:29:22 +00:00
|
|
|
repo = "szyszka";
|
2021-08-05 21:33:18 +00:00
|
|
|
rev = version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-LkXGKDFKaY+mg53ZEO4h2br/4eRle/QbSQJTVEMpAoY=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
cargoHash = "sha256-WJR1BogNnQoZeOt5yBFzjYNZS8OmE84R1FbQpHTb7V0=";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
2023-10-09 19:29:22 +00:00
|
|
|
wrapGAppsHook
|
2021-08-05 21:33:18 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
cairo
|
|
|
|
pango
|
|
|
|
atk
|
|
|
|
gdk-pixbuf
|
2023-10-09 19:29:22 +00:00
|
|
|
gtk4
|
2021-08-05 21:33:18 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple but powerful and fast bulk file renamer";
|
|
|
|
homepage = "https://github.com/qarmin/szyszka";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = licenses.mit;
|
2021-08-05 21:33:18 +00:00
|
|
|
maintainers = with maintainers; [ kranzes ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "szyszka";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
}
|