1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/python-modules/ssdeep/default.nix
Chris Ostrouchov 80b1908800 pythonPackages.ssdeep: refactor move to python-modules
fixed package that was originally broken.
2018-10-17 07:46:58 +02:00

34 lines
660 B
Nix

{ 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 = http://github.com/DinoTools/python-ssdeep;
description = "Python wrapper for the ssdeep library";
license = licenses.lgpl3;
};
}