1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/tools/archivers/undmg/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
634 B
Nix

{ stdenv, fetchFromGitHub, zlib, bzip2 }:
stdenv.mkDerivation rec {
version = "1.0.3";
pname = "undmg";
src = fetchFromGitHub {
owner = "matthewbauer";
repo = "undmg";
rev = "v${version}";
sha256 = "1pxqw92h2w75d4jwiihwnkhnsfk09cddh3flgrqwh9r3ry14fgbb";
};
buildInputs = [ zlib bzip2 ];
setupHook = ./setup-hook.sh;
makeFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
homepage = https://github.com/matthewbauer/undmg;
description = "Extract a DMG file";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ matthewbauer lnl7 ];
};
}