Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
848 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, fetchPypi, buildPythonPackage, pythonOlder, boost, numpy, pytestCheckHook, pytest-benchmark, setuptools-scm}:
buildPythonPackage rec { pname = "boost-histogram"; version = "1.4.0"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { pname = "boost_histogram"; inherit version; hash = "sha256-z5gmz8/hAzUJa1emH2xlafZfAVklnusiUcW/MdhZ11M="; };
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ boost ];
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ 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; maintainers = with maintainers; [ veprbl ]; };}