From 727f770806bf440ced17680974473389b6285ce6 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sun, 5 May 2024 21:12:30 -0400 Subject: [PATCH] icnsify: init at 0.1.0 --- pkgs/by-name/ic/icnsify/package.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/ic/icnsify/package.nix diff --git a/pkgs/by-name/ic/icnsify/package.nix b/pkgs/by-name/ic/icnsify/package.nix new file mode 100644 index 000000000000..a1017f14a439 --- /dev/null +++ b/pkgs/by-name/ic/icnsify/package.nix @@ -0,0 +1,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"; + }; +}