mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 23:48:25 +03:00
Merge pull request #319628 from heywoodlh/create-dmg
create-dmg: init 1.2.2
This commit is contained in:
commit
8c8426d8e2
31
pkgs/by-name/cr/create-dmg/package.nix
Normal file
31
pkgs/by-name/cr/create-dmg/package.nix
Normal file
@ -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";
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user