Skip to content

Commit

Permalink
create-dmg: init at 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
heywoodlh committed Aug 8, 2024
1 parent 1287f06 commit 9345170
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/by-name/cr/create-dmg/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
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";
};
})

0 comments on commit 9345170

Please sign in to comment.