forked from mirrors/nixpkgs
Merge pull request #124842 from veprbl/pr/boost-histogram
This commit is contained in:
commit
4bfec72937
26
pkgs/development/python-modules/boost-histogram/default.nix
Normal file
26
pkgs/development/python-modules/boost-histogram/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, isPy3k, boost, numpy, pytestCheckHook, pytest-benchmark }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boost-histogram";
|
||||
version = "1.0.2";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "boost_histogram";
|
||||
inherit version;
|
||||
sha256 = "b79cb9a00c5b8e44ff24ffcbec0ce5d3048dd1570c8592066344b6d2f2369fa2";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -57,8 +57,8 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "A cross-language development platform for in-memory data";
|
||||
homepage = "https://arrow.apache.org/";
|
||||
license = lib.licenses.asl20;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1146,6 +1146,10 @@ in {
|
|||
|
||||
boschshcpy = callPackage ../development/python-modules/boschshcpy { };
|
||||
|
||||
boost-histogram = callPackage ../development/python-modules/boost-histogram {
|
||||
inherit (pkgs) boost;
|
||||
};
|
||||
|
||||
boto3 = callPackage ../development/python-modules/boto3 { };
|
||||
|
||||
boto = callPackage ../development/python-modules/boto { };
|
||||
|
|
Loading…
Reference in a new issue