Merge pull request #125208 from cpcloud/xtl

xtl: init at 0.7.2
This commit is contained in:
Sandro 2021-06-04 11:23:51 +02:00 committed by GitHub
commit d4738957e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, gtest
}:
stdenv.mkDerivation rec {
pname = "xtl";
version = "0.7.2";
src = fetchFromGitHub {
owner = "xtensor-stack";
repo = "xtl";
rev = version;
sha256 = "177ym67sz544wdylksfkkpi6bqn34kagycfnb3cv0nkmpipqj9lg";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_TESTS=ON" ];
doCheck = true;
checkInputs = [ gtest ];
checkTarget = "xtest";
meta = with lib; {
description = "Basic tools (containers, algorithms) used by other quantstack packages";
homepage = "https://github.com/xtensor-stack/xtl";
license = licenses.bsd3;
maintainers = with maintainers; [ cpcloud ];
platforms = platforms.all;
};
}

View file

@ -18604,6 +18604,8 @@ in
xsimd = callPackage ../development/libraries/xsimd { };
xtl = callPackage ../development/libraries/xtl { };
xvidcore = callPackage ../development/libraries/xvidcore { };
xxHash = callPackage ../development/libraries/xxHash {};