Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 660 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.3"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "255de1f034652b3ed21920221017e70e570b1644f9436fea120ae416175f4ef5"; 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 = http://github.com/DinoTools/python-ssdeep; 29 description = "Python wrapper for the ssdeep library"; 30 license = licenses.lgpl3; 31 }; 32 33}