about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/histoprint/default.nix
blob: 66f06feac946e1c23bad11eb5eb955f1b15eeaf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, fetchPypi
, buildPythonPackage
, click
, numpy
, setuptools
, setuptools-scm
, uhi
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "histoprint";
  version = "2.4.0";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "328f789d186e3bd76882d57b5aad3fa08c7870a856cc83bcdbad9f4aefbda94d";
  };

  buildInputs = [
    setuptools
    setuptools-scm
  ];

  propagatedBuildInputs = [
    click
    numpy
    uhi
  ];

  checkInputs = [
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Pretty print histograms to the console";
    homepage = "https://github.com/scikit-hep/histoprint";
    license = licenses.mit;
    maintainers = with maintainers; [ veprbl ];
  };
}