Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / boost-histogram / default.nix
blob14eeb53c93f253576d742607cdb81ae69efe18e5
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.1";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     pname = "boost_histogram";
21     inherit version;
22     hash = "sha256-lxRvc19GfVBpdqBH8/I3zlmECpUv0jH19DH4l/sAbN0=";
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   };