Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 651 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pkgs 5, cffi 6, six 7, pytest 8, pytestrunner 9}: 10 11buildPythonPackage rec { 12 pname = "ssdeep"; 13 version = "3.4"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "0px8k4fjbkjb717bg2v7rjhm4iclrxzq7sh0hfqs55f4ddqi0m8v"; 18 }; 19 20 buildInputs = [ pkgs.ssdeep pytestrunner ]; 21 checkInputs = [ pytest ]; 22 propagatedBuildInputs = [ cffi six ]; 23 24 # tests repository does not include required files 25 doCheck = false; 26 27 meta = with stdenv.lib; { 28 homepage = "https://github.com/DinoTools/python-ssdeep"; 29 description = "Python wrapper for the ssdeep library"; 30 license = licenses.lgpl3; 31 }; 32 33}