about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ge/geticons/package.nix
blob: f3afda0f136dfb5e4414b38e5ae803ec4ad5cd8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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";
    homepage = "https://git.sr.ht/~zethra/geticons";
    license = with licenses; [ gpl3Plus ];
    maintainers = with maintainers; [ Madouura ];
  };
}