2017-02-27 14:04:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, openssl }:
|
2011-01-22 12:14:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-27 14:04:40 +00:00
|
|
|
name = "vfdecrypt-${version}";
|
|
|
|
version = "unstable-2010-08-13";
|
2011-01-22 12:14:25 +00:00
|
|
|
|
2017-02-27 14:04:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tomer1510";
|
|
|
|
repo = "VFDecrypt";
|
2011-01-22 12:14:25 +00:00
|
|
|
rev = "4e2fa32816254907e82886b936afcae9859a876c";
|
|
|
|
sha256 = "0b945805f7f60bf48556c2db45c9ab26485fb05acbc6160a563d529b20cb56a3";
|
|
|
|
};
|
2017-02-27 14:04:40 +00:00
|
|
|
|
2015-06-04 18:22:36 +01:00
|
|
|
buildInputs = [ openssl ];
|
2017-02-27 14:04:40 +00:00
|
|
|
|
2011-01-22 12:14:25 +00:00
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2011-01-22 12:14:25 +00:00
|
|
|
cp vfdecrypt $out/bin
|
|
|
|
'';
|
2017-02-27 14:04:40 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A cross platform dmg decryption tool";
|
|
|
|
license = licenses.mit;
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
2011-01-22 12:14:25 +00:00
|
|
|
}
|