blob: 217d856e77f9ca7d82b7006b60e8244c2108c9f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
nativeCheckInputs = [
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 ];
};
}
|