depot/third_party/nixpkgs/pkgs/development/python-modules/ssdeep/default.nix
Default email 21cecf6002 Project import generated by Copybara.
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
2021-07-24 08:14:16 -04:00

33 lines
643 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pkgs
, cffi
, six
, pytest
, pytest-runner
}:
buildPythonPackage rec {
pname = "ssdeep";
version = "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "0px8k4fjbkjb717bg2v7rjhm4iclrxzq7sh0hfqs55f4ddqi0m8v";
};
buildInputs = [ pkgs.ssdeep pytest-runner ];
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;
};
}