python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / mizani / default.nix
blob1bee4a9f29fbe89d3f8ea8dc4fed330c407983a4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools-scm,
9   # dependencies
10   matplotlib,
11   palettable,
12   pandas,
13   scipy,
15   # tests
16   pytestCheckHook,
19 buildPythonPackage rec {
20   pname = "mizani";
21   version = "0.13.1";
22   pyproject = true;
24   src = fetchFromGitHub {
25     owner = "has2k1";
26     repo = "mizani";
27     tag = "v${version}";
28     hash = "sha256-3eEOkrF3Sn5ZETnxgc5spwHlbJAiDhkJkd5LwMl0QEY=";
29   };
31   build-system = [ setuptools-scm ];
33   dependencies = [
34     matplotlib
35     palettable
36     pandas
37     scipy
38   ];
40   nativeCheckInputs = [ pytestCheckHook ];
42   postPatch = ''
43     substituteInPlace pyproject.toml \
44       --replace " --cov=mizani --cov-report=xml" ""
45   '';
47   pythonImportsCheck = [ "mizani" ];
49   meta = {
50     description = "Scales for Python";
51     homepage = "https://github.com/has2k1/mizani";
52     changelog = "https://github.com/has2k1/mizani/releases/tag/v${version}";
53     license = lib.licenses.bsd3;
54     maintainers = with lib.maintainers; [ samuela ];
55   };