Skip to content

Instantly share code, notes, and snippets.

@tokudan
Created August 10, 2017 13:51
Show Gist options
  • Save tokudan/fb42e0a977cfc07bc5e794900bf069c5 to your computer and use it in GitHub Desktop.
Save tokudan/fb42e0a977cfc07bc5e794900bf069c5 to your computer and use it in GitHub Desktop.
{ stdenv, fetchurl, autoconf, automake
} :
stdenv.mkDerivation rec {
version = "4.4";
name = "hashdeep-${version}";
src = fetchurl {
url = "https://github.com/jessek/hashdeep/archive/release-${version}.tar.gz";
sha256 = "0inciwf5av0jzb5z2cp75vaw7n12s20fkjmdcr2qsy4w5as8mnnv";
};
buildInputs = [ autoconf automake ];
bootstrap = ''
bash bootstrap.sh
'';
preConfigurePhases = ''
bootstrap
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment