summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ic/icnsify/package.nix
blob: ece47739bc27e4d66d678244d86eaa1e91c08ff5 (plain)
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
28
29
{
  lib,
  rustPlatform,
  fetchFromGitHub,
}:
let
  version = "0.1.1";
in
rustPlatform.buildRustPackage {
  pname = "icnsify";
  inherit version;

  src = fetchFromGitHub {
    owner = "uncenter";
    repo = "icnsify";
    rev = "v${version}";
    hash = "sha256-9BZTY175GaaNCq8gcfw4Wl5vzphy4k+hNhW5m6z3adw=";
  };

  cargoHash = "sha256-SutIlmGVdXb+B0JE7UDG5cKWUdpFlnXBQjBntmUNQVA=";

  meta = {
    description = "Convert PNGs to .icns";
    homepage = "https://github.com/uncenter/icnsify";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ uncenter ];
    mainProgram = "icnsify";
  };
}