mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
34 lines
641 B
Nix
34 lines
641 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pkgs
|
|
, cffi
|
|
, six
|
|
, pytest
|
|
, pytestrunner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ssdeep";
|
|
version = "3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0px8k4fjbkjb717bg2v7rjhm4iclrxzq7sh0hfqs55f4ddqi0m8v";
|
|
};
|
|
|
|
buildInputs = [ pkgs.ssdeep pytestrunner ];
|
|
checkInputs = [ pytest ];
|
|
propagatedBuildInputs = [ cffi six ];
|
|
|
|
# tests repository does not include required files
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/DinoTools/python-ssdeep";
|
|
description = "Python wrapper for the ssdeep library";
|
|
license = licenses.lgpl3;
|
|
};
|
|
|
|
}
|