mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
599 B
Nix
27 lines
599 B
Nix
{ stdenv, fetchFromGitHub, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vfdecrypt";
|
|
version = "unstable-2010-08-13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tomer1510";
|
|
repo = "VFDecrypt";
|
|
rev = "4e2fa32816254907e82886b936afcae9859a876c";
|
|
sha256 = "0b945805f7f60bf48556c2db45c9ab26485fb05acbc6160a563d529b20cb56a3";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp vfdecrypt $out/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A cross platform dmg decryption tool";
|
|
license = licenses.mit;
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|