nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6let
7 version = "0.1.0";
8in
9rustPlatform.buildRustPackage {
10 pname = "icnsify";
11 inherit version;
12
13 src = fetchFromGitHub {
14 owner = "uncenter";
15 repo = "icnsify";
16 rev = "v${version}";
17 hash = "sha256-v8jwN29S6ZTt2XkPpZM+lJugbP9ClzPhqu52mdwdP00=";
18 };
19
20 cargoHash = "sha256-EDnwoDqQkb3G6/3/ib0p2Zh3dbMbeXozjEaNtYoCj4s=";
21
22 meta = {
23 description = "Convert PNGs to .icns";
24 homepage = "https://github.com/uncenter/icnsify";
25 license = lib.licenses.mit;
26 maintainers = with lib.maintainers; [ uncenter ];
27 mainProgram = "icnsify";
28 };
29}