depot/third_party/nixpkgs/pkgs/by-name/cr/create-dmg/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

31 lines
771 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "create-dmg";
version = "1.2.2";
src = fetchFromGitHub {
owner = "create-dmg";
repo = "create-dmg";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-oWrQT9nuFcJRwwXd5q4IqhG7M77aaazBG0+JSHAzPvw=";
};
dontBuild = true;
installFlags = [ "prefix=$(out)" ];
meta = {
description = "Shell script to build fancy DMGs";
homepage = "https://github.com/create-dmg/create-dmg";
license = lib.licenses.mit;
platforms = lib.platforms.darwin;
maintainers = with lib.maintainers; [ heywoodlh ];
changelog = "https://github.com/create-dmg/create-dmg/releases/tag/v${finalAttrs.version}";
mainProgram = "create-dmg";
};
})