Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 771 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchFromGitHub, 5}: 6 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "create-dmg"; 9 version = "1.2.2"; 10 11 src = fetchFromGitHub { 12 owner = "create-dmg"; 13 repo = "create-dmg"; 14 rev = "refs/tags/v${finalAttrs.version}"; 15 hash = "sha256-oWrQT9nuFcJRwwXd5q4IqhG7M77aaazBG0+JSHAzPvw="; 16 }; 17 18 dontBuild = true; 19 20 installFlags = [ "prefix=$(out)" ]; 21 22 meta = { 23 description = "Shell script to build fancy DMGs"; 24 homepage = "https://github.com/create-dmg/create-dmg"; 25 license = lib.licenses.mit; 26 platforms = lib.platforms.darwin; 27 maintainers = with lib.maintainers; [ heywoodlh ]; 28 changelog = "https://github.com/create-dmg/create-dmg/releases/tag/v${finalAttrs.version}"; 29 mainProgram = "create-dmg"; 30 }; 31})