python3Packages.mizani: add missing dependency
This commit is contained in:
parent
102db75c91
commit
b6d7af0404
1 changed files with 23 additions and 8 deletions
|
@ -1,15 +1,20 @@
|
||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, palettable
|
, palettable
|
||||||
, pandas
|
, pandas
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, scipy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mizani";
|
pname = "mizani";
|
||||||
version = "0.7.3";
|
version = "0.7.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "has2k1";
|
owner = "has2k1";
|
||||||
|
@ -18,15 +23,25 @@ buildPythonPackage rec {
|
||||||
sha256 = "04r53dp5jbklv8l9ncgc5wiq0gx25y73h65gmmbbfkxwgsl3w78l";
|
sha256 = "04r53dp5jbklv8l9ncgc5wiq0gx25y73h65gmmbbfkxwgsl3w78l";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
matplotlib
|
||||||
|
palettable
|
||||||
|
pandas
|
||||||
|
scipy
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pytest.ini --replace " --cov=mizani --cov-report=xml" ""
|
substituteInPlace pytest.ini \
|
||||||
|
--replace " --cov=mizani --cov-report=xml" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ matplotlib palettable pandas ];
|
pythonImportsCheck = [
|
||||||
|
"mizani"
|
||||||
checkInputs = [ pytestCheckHook ];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "mizani" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Scales for Python";
|
description = "Scales for Python";
|
||||||
|
|
Loading…
Reference in a new issue