1{ lib 2, buildPythonPackage 3, fetchPypi 4, pkgs 5, cffi 6, six 7, pytest 8, pytest-runner 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 pytest-runner ]; 21 checkInputs = [ pytest ]; 22 propagatedBuildInputs = [ cffi six ]; 23 24 # tests repository does not include required files 25 doCheck = false; 26 27 meta = with lib; { 28 homepage = "https://github.com/DinoTools/python-ssdeep"; 29 description = "Python wrapper for the ssdeep library"; 30 license = licenses.lgpl3; 31 }; 32 33}