diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-02-08 18:08:13 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-02-08 09:54:38 -0800 |
commit | 0d79bd66999ae23fb13abd08cf312b5b0ad3e492 (patch) | |
tree | abd0031022f45b8c2b6bda6f3866b0d47c39d86e | |
parent | dacbe2de52dbcd04d5fb77d777dd7391c5097c4c (diff) | |
download | nixpkgs-0d79bd66999ae23fb13abd08cf312b5b0ad3e492.tar nixpkgs-0d79bd66999ae23fb13abd08cf312b5b0ad3e492.tar.gz nixpkgs-0d79bd66999ae23fb13abd08cf312b5b0ad3e492.tar.bz2 nixpkgs-0d79bd66999ae23fb13abd08cf312b5b0ad3e492.tar.lz nixpkgs-0d79bd66999ae23fb13abd08cf312b5b0ad3e492.tar.xz nixpkgs-0d79bd66999ae23fb13abd08cf312b5b0ad3e492.tar.zst nixpkgs-0d79bd66999ae23fb13abd08cf312b5b0ad3e492.zip |
python39Packages.boost-histogram: fix version number, remove default meta.platforms
-rw-r--r-- | pkgs/development/python-modules/boost-histogram/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/boost-histogram/default.nix b/pkgs/development/python-modules/boost-histogram/default.nix index f428dc788bf..b56ebbf50a7 100644 --- a/pkgs/development/python-modules/boost-histogram/default.nix +++ b/pkgs/development/python-modules/boost-histogram/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchPypi, buildPythonPackage, isPy3k, boost, numpy, pytestCheckHook, pytest-benchmark }: +{ lib, fetchPypi, buildPythonPackage, isPy3k, boost, numpy, pytestCheckHook, pytest-benchmark, setuptools-scm }: buildPythonPackage rec { pname = "boost-histogram"; @@ -11,7 +11,10 @@ buildPythonPackage rec { sha256 = "a27842b2f1cfecc509382da2b25b03056354696482b38ec3c0220af0fc9b7579"; }; + nativeBuildInputs = [ setuptools-scm ]; + buildInputs = [ boost ]; + propagatedBuildInputs = [ numpy ]; checkInputs = [ pytestCheckHook pytest-benchmark ]; @@ -20,7 +23,6 @@ buildPythonPackage rec { 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 ]; }; } |