lol
at 23.05-pre 26 lines 671 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "ssdeep"; 5 version = "2.14.1"; 6 7 src = fetchFromGitHub { 8 owner = "ssdeep-project"; 9 repo = "ssdeep"; 10 rev = "release-${version}"; 11 sha256 = "1yx6yjkggshw5yl89m4kvyzarjdg2l3hs0bbjbrfzwp1lkfd8i0c"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 16 # Hack to avoid TMPDIR in RPATHs. 17 preFixup = ''rm -rf "$(pwd)" ''; 18 19 meta = { 20 description = "A program for calculating fuzzy hashes"; 21 homepage = "http://www.ssdeep.sf.net"; 22 license = lib.licenses.gpl2; 23 platforms = lib.platforms.unix; 24 maintainers = [ lib.maintainers.thoughtpolice ]; 25 }; 26}