pythonPackages.ssdeep: refactor move to python-modules
fixed package that was originally broken.
This commit is contained in:
parent
27c87bbe87
commit
80b1908800
33
pkgs/development/python-modules/ssdeep/default.nix
Normal file
33
pkgs/development/python-modules/ssdeep/default.nix
Normal file
@ -0,0 +1,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 = http://github.com/DinoTools/python-ssdeep;
|
||||
description = "Python wrapper for the ssdeep library";
|
||||
license = licenses.lgpl3;
|
||||
};
|
||||
|
||||
}
|
@ -2157,18 +2157,7 @@ in {
|
||||
|
||||
zope_copy = callPackage ../development/python-modules/zope_copy {};
|
||||
|
||||
ssdeep = buildPythonPackage rec {
|
||||
name = "ssdeep-3.1.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/ssdeep/${name}.tar.gz";
|
||||
sha256 = "1p9dpykmnfb73cszdiic5wbz5bmbbmkiih08pb4dah5mwq4n7im6";
|
||||
};
|
||||
|
||||
buildInputs = with pkgs; [ ssdeep ];
|
||||
propagatedBuildInputs = with self; [ cffi six ];
|
||||
meta.broken = true; # Tests fail, and no reverse-dependencies anyway
|
||||
};
|
||||
ssdeep = callPackage ../development/python-modules/ssdeep { };
|
||||
|
||||
s2clientprotocol = callPackage ../development/python-modules/s2clientprotocol { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user