python3Packages.mizani: add missing dependency

This commit is contained in:
Fabian Affolter 2022-01-01 20:04:28 +01:00 committed by Samuel Ainsworth
parent 102db75c91
commit b6d7af0404

View file

@ -1,15 +1,20 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchFromGitHub
, lib
, matplotlib
, palettable
, pandas
, pytestCheckHook
, pythonOlder
, scipy
}:
buildPythonPackage rec {
pname = "mizani";
version = "0.7.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "has2k1";
@ -18,15 +23,25 @@ buildPythonPackage rec {
sha256 = "04r53dp5jbklv8l9ncgc5wiq0gx25y73h65gmmbbfkxwgsl3w78l";
};
propagatedBuildInputs = [
matplotlib
palettable
pandas
scipy
];
checkInputs = [
pytestCheckHook
];
postPatch = ''
substituteInPlace pytest.ini --replace " --cov=mizani --cov-report=xml" ""
substituteInPlace pytest.ini \
--replace " --cov=mizani --cov-report=xml" ""
'';
propagatedBuildInputs = [ matplotlib palettable pandas ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mizani" ];
pythonImportsCheck = [
"mizani"
];
meta = with lib; {
description = "Scales for Python";