xtl: 0.7.2 -> 0.7.5

This commit is contained in:
Weijia Wang 2023-01-28 10:44:12 +01:00
parent cec62b8dfb
commit 672ff8a4a3

View file

@ -2,17 +2,18 @@
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, doctest
, gtest , gtest
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xtl"; pname = "xtl";
version = "0.7.2"; version = "0.7.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xtensor-stack"; owner = "xtensor-stack";
repo = "xtl"; repo = "xtl";
rev = version; rev = version;
sha256 = "177ym67sz544wdylksfkkpi6bqn34kagycfnb3cv0nkmpipqj9lg"; hash = "sha256-Vc1VKOWmG1sAw3UQpNJAhm9PvXSqJ0iO2qLjP6/xjtI=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DBUILD_TESTS=ON" ]; cmakeFlags = [ "-DBUILD_TESTS=ON" ];
doCheck = true; doCheck = true;
nativeCheckInputs = [ gtest ]; nativeCheckInputs = [ doctest ];
checkTarget = "xtest"; checkTarget = "xtest";
meta = with lib; { meta = with lib; {