nixpkgs/pkgs/tools/misc/szyszka/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

53 lines
943 B
Nix

{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, glib
, cairo
, pango
, atk
, gdk-pixbuf
, gtk4
, wrapGAppsHook4
, darwin
}:
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
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
Foundation
]);
meta = with lib; {
description = "Simple but powerful and fast bulk file renamer";
homepage = "https://github.com/qarmin/szyszka";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
mainProgram = "szyszka";
};
}