about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/ssdeep/default.nix
blob: f41452b4b61d12f90ef696b875c2f83f625105fd (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
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
, cffi
, six
, pytest
, pytestrunner
}:

buildPythonPackage rec {
  pname = "ssdeep";
  version = "3.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "255de1f034652b3ed21920221017e70e570b1644f9436fea120ae416175f4ef5";
  };

  buildInputs = [ pkgs.ssdeep pytestrunner ];
  checkInputs = [ pytest ];
  propagatedBuildInputs = [ cffi six ];

  # tests repository does not include required files
  doCheck = false;

  meta = with stdenv.lib; {
    homepage = https://github.com/DinoTools/python-ssdeep;
    description = "Python wrapper for the ssdeep library";
    license = licenses.lgpl3;
  };

}