lol

python3Packages.mizani: add missing dependency

authored by

Fabian Affolter and committed by
Samuel Ainsworth
b6d7af04 102db75c

+23 -8
+23 -8
pkgs/development/python-modules/mizani/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchFromGitHub 3 - , lib 4 4 , matplotlib 5 5 , palettable 6 6 , pandas 7 7 , pytestCheckHook 8 + , pythonOlder 9 + , scipy 8 10 }: 9 11 10 12 buildPythonPackage rec { 11 13 pname = "mizani"; 12 14 version = "0.7.3"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.6"; 13 18 14 19 src = fetchFromGitHub { 15 20 owner = "has2k1"; ··· 18 23 sha256 = "04r53dp5jbklv8l9ncgc5wiq0gx25y73h65gmmbbfkxwgsl3w78l"; 19 24 }; 20 25 26 + propagatedBuildInputs = [ 27 + matplotlib 28 + palettable 29 + pandas 30 + scipy 31 + ]; 32 + 33 + checkInputs = [ 34 + pytestCheckHook 35 + ]; 36 + 21 37 postPatch = '' 22 - substituteInPlace pytest.ini --replace " --cov=mizani --cov-report=xml" "" 38 + substituteInPlace pytest.ini \ 39 + --replace " --cov=mizani --cov-report=xml" "" 23 40 ''; 24 41 25 - propagatedBuildInputs = [ matplotlib palettable pandas ]; 26 - 27 - checkInputs = [ pytestCheckHook ]; 28 - 29 - pythonImportsCheck = [ "mizani" ]; 42 + pythonImportsCheck = [ 43 + "mizani" 44 + ]; 30 45 31 46 meta = with lib; { 32 47 description = "Scales for Python";