about summary refs log tree commit diff
path: root/pkgs/tools/misc/vfdecrypt/default.nix
blob: 83b91f6203ed7bf213b45fb328fe5d7bc708c50e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, openssl }:

stdenv.mkDerivation rec {
  name = "vfdecrypt-${version}";
  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;
  };
}