ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
26 lines
752 B
Nix
26 lines
752 B
Nix
{ lib, fetchPypi, buildPythonPackage, isPy3k, boost, numpy, pytestCheckHook, pytest-benchmark }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "boost-histogram";
|
|
version = "1.2.1";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
pname = "boost_histogram";
|
|
inherit version;
|
|
sha256 = "a27842b2f1cfecc509382da2b25b03056354696482b38ec3c0220af0fc9b7579";
|
|
};
|
|
|
|
buildInputs = [ boost ];
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
checkInputs = [ pytestCheckHook pytest-benchmark ];
|
|
|
|
meta = with lib; {
|
|
description = "Python bindings for the C++14 Boost::Histogram library";
|
|
homepage = "https://github.com/scikit-hep/boost-histogram";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ veprbl ];
|
|
};
|
|
}
|