nixpkgs/pkgs/by-name/ge/geticons/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
717 B
Nix

{ lib
, rustPlatform
, fetchFromSourcehut
, gitUpdater
}:
rustPlatform.buildRustPackage rec {
pname = "geticons";
version = "1.2.2";
src = fetchFromSourcehut {
owner = "~zethra";
repo = pname;
rev = version;
hash = "sha256-HEnUfOLeRTi2dRRqjDPVwVVHo/GN9wE28x5qv3qOpCY=";
};
cargoHash = "sha256-Znwni7uMnG9cpZbztUMY1j73K+XrDLv5zyNEZDoxWg4=";
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "CLI utility to get icons for apps on your system or other generic icons by name";
mainProgram = "geticons";
homepage = "https://git.sr.ht/~zethra/geticons";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ Madouura ];
};
}