vfdecrypt: fix build

This commit is contained in:
Robin Gloster 2017-02-27 15:04:40 +01:00
parent 4df663a9a2
commit b55c259a72
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -1,17 +1,26 @@
{ stdenv, fetchgit, openssl }:
{ stdenv, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
name = "vfdecrypt";
name = "vfdecrypt-${version}";
version = "unstable-2010-08-13";
src = fetchgit {
url = git://github.com/drakealleg/VFDecrypt.git;
src = fetchFromGitHub {
owner = "Tomer1510";
repo = "VFDecrypt";
rev = "4e2fa32816254907e82886b936afcae9859a876c";
sha256 = "0b945805f7f60bf48556c2db45c9ab26485fb05acbc6160a563d529b20cb56a3";
};
buildInputs = [ openssl ];
broken = true; # No such repo
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;
};
}