python3Packages.deepdiff: fix build and tests
This commit is contained in:
parent
a63e80407d
commit
f929c7cdf3
@ -1,34 +1,43 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, mock
|
, click
|
||||||
, jsonpickle
|
|
||||||
, mmh3
|
|
||||||
, ordered-set
|
, ordered-set
|
||||||
|
, clevercsv
|
||||||
|
, jsonpickle
|
||||||
, numpy
|
, numpy
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pyyaml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "deepdiff";
|
pname = "deepdiff";
|
||||||
version = "5.2.3";
|
version = "5.2.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
# pypi source does not contain all fixtures required for tests
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "ae2cb98353309f93fbfdda4d77adb08fb303314d836bb6eac3d02ed71a10b40e";
|
owner = "seperman";
|
||||||
|
repo = "deepdiff";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0j3il23n3yfny6kzy2n67s0zsrqckck7x1ambqh29nzi0bqwslzk";
|
||||||
};
|
};
|
||||||
|
|
||||||
# # Extra packages (may not be necessary)
|
propagatedBuildInputs = [
|
||||||
checkInputs = [
|
click
|
||||||
mock
|
ordered-set
|
||||||
numpy
|
|
||||||
pytestCheckHook
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
pythonImportsCheck = [
|
||||||
|
"deepdiff"
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
clevercsv
|
||||||
jsonpickle
|
jsonpickle
|
||||||
mmh3
|
numpy
|
||||||
ordered-set
|
pytestCheckHook
|
||||||
|
pyyaml
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user