Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / boost-histogram / default.nix
blobed29be91d81fdc110518fa3cc96f903556c00a35
1 { lib
2 , fetchPypi
3 , buildPythonPackage
4 , pythonOlder
5 , boost
6 , numpy
7 , pytestCheckHook
8 , pytest-benchmark
9 , setuptools-scm
12 buildPythonPackage rec {
13   pname = "boost-histogram";
14   version = "1.4.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     pname = "boost_histogram";
21     inherit version;
22     hash = "sha256-z5gmz8/hAzUJa1emH2xlafZfAVklnusiUcW/MdhZ11M=";
23   };
25   nativeBuildInputs = [
26     setuptools-scm
27   ];
29   buildInputs = [
30     boost
31   ];
33   propagatedBuildInputs = [
34     numpy
35   ];
37   nativeCheckInputs = [
38     pytestCheckHook
39     pytest-benchmark
40   ];
42   meta = with lib; {
43     description = "Python bindings for the C++14 Boost::Histogram library";
44     homepage = "https://github.com/scikit-hep/boost-histogram";
45     license = licenses.bsd3;
46     maintainers = with maintainers; [ veprbl ];
47   };