about summary refs log tree commit diff
path: root/pkgs/by-name/ic/icnsify/package.nix
blob: a1017f14a43937a7c9ef40e4163f2f13abf93681 (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
28
29
{
  lib,
  rustPlatform,
  fetchFromGitHub,
}:
let
  version = "0.1.0";
in
rustPlatform.buildRustPackage {
  pname = "icnsify";
  inherit version;

  src = fetchFromGitHub {
    owner = "uncenter";
    repo = "icnsify";
    rev = "v${version}";
    hash = "sha256-v8jwN29S6ZTt2XkPpZM+lJugbP9ClzPhqu52mdwdP00=";
  };

  cargoHash = "sha256-5wgioCOKvZ0J/t5v/Ic3unAA5h5Bt6MuCUzFJP7Dusw=";

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