pythonPackages.xtensor-python: init at 0.25.1
This commit is contained in:
parent
3b6c3bee91
commit
db5387368b
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/xtensor-python/default.nix
Normal file
40
pkgs/development/python-modules/xtensor-python/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, gtest
|
||||
, xtensor
|
||||
, pybind11
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xtensor-python";
|
||||
version = "0.25.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xtensor-stack";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "17la76hn4r1jv67dzz8x2pzl608r0mnvz854407mchlzj6rhsxza";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pybind11 ];
|
||||
|
||||
propagatedBuildInputs = [ xtensor numpy ];
|
||||
|
||||
dontUseSetuptoolsBuild = true;
|
||||
dontUsePipInstall = true;
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
checkInputs = [
|
||||
gtest
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/xtensor-stack/xtensor-python";
|
||||
description = "Python bindings for the xtensor C++ multi-dimensional array library";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ lsix ];
|
||||
};
|
||||
}
|
|
@ -9187,6 +9187,8 @@ in {
|
|||
|
||||
xstatic-pygments = callPackage ../development/python-modules/xstatic-pygments { };
|
||||
|
||||
xtensor-python = callPackage ../development/python-modules/xtensor-python { };
|
||||
|
||||
xvfbwrapper = callPackage ../development/python-modules/xvfbwrapper {
|
||||
inherit (pkgs.xorg) xorgserver;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue