xtensor: init at 0.23.10
This commit is contained in:
parent
425cfd7de4
commit
d02e973ed2
36
pkgs/development/libraries/xtensor/default.nix
Normal file
36
pkgs/development/libraries/xtensor/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, gtest
|
||||||
|
, xsimd
|
||||||
|
, xtl
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "xtensor";
|
||||||
|
version = "0.23.10";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "xtensor-stack";
|
||||||
|
repo = "xtensor";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1ayrhyh9x33b87ic01b4jzxc8x27yxpxzya5x54ikazvz8p71n14";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
propagatedBuildInputs = [ xtl xsimd ];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DBUILD_TESTS=ON" ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkInputs = [ gtest ];
|
||||||
|
checkTarget = "xtest";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Multi-dimensional arrays with broadcasting and lazy computing.";
|
||||||
|
homepage = "https://github.com/xtensor-stack/xtensor";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ cpcloud ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -18604,6 +18604,8 @@ in
|
||||||
|
|
||||||
xsimd = callPackage ../development/libraries/xsimd { };
|
xsimd = callPackage ../development/libraries/xsimd { };
|
||||||
|
|
||||||
|
xtensor = callPackage ../development/libraries/xtensor { };
|
||||||
|
|
||||||
xtl = callPackage ../development/libraries/xtl { };
|
xtl = callPackage ../development/libraries/xtl { };
|
||||||
|
|
||||||
xvidcore = callPackage ../development/libraries/xvidcore { };
|
xvidcore = callPackage ../development/libraries/xvidcore { };
|
||||||
|
|
Loading…
Reference in a new issue