mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python3Packages.mizani: init at 0.7.3
* python3Packages.mizani: init at 0.7.3 * python3Packages.mizani: patch out pytest-cov and run nixpkgs-fmt * python3Packages.mizani: use postPatch instead of patchPhase Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * python3Packages.mizani: include `pythonImportsCheck` Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
087242632b
commit
7aa8593369
37
pkgs/development/python-modules/mizani/default.nix
Normal file
37
pkgs/development/python-modules/mizani/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, matplotlib
|
||||
, palettable
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mizani";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "has2k1";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "04r53dp5jbklv8l9ncgc5wiq0gx25y73h65gmmbbfkxwgsl3w78l";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini --replace " --cov=mizani --cov-report=xml" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ matplotlib palettable pandas ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "mizani" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Scales for Python";
|
||||
homepage = "https://github.com/has2k1/mizani";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ samuela ];
|
||||
};
|
||||
}
|
@ -4892,6 +4892,8 @@ in {
|
||||
|
||||
mixpanel = callPackage ../development/python-modules/mixpanel { };
|
||||
|
||||
mizani = callPackage ../development/python-modules/mizani { };
|
||||
|
||||
mkl-service = callPackage ../development/python-modules/mkl-service { };
|
||||
|
||||
ml-collections = callPackage ../development/python-modules/ml-collections { };
|
||||
|
Loading…
Reference in New Issue
Block a user