summary refs log tree commit diff
path: root/pkgs/development/python-modules/ssdeep/default.nix
blob: 904595865b8c080389884e2bf75553b4d4210b25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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;
  };

}