depot/third_party/nixpkgs/pkgs/by-name/ic/icnsify/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

29 lines
617 B
Nix

{
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";
};
}