fcppt: 3.5.0 -> 4.2.1

This commit is contained in:
Philipp Middendorf 2022-06-30 15:35:48 +02:00
parent 803f40827f
commit 3492b73572
2 changed files with 13 additions and 7 deletions

View file

@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
homepage = "http://catch-lib.net";
license = licenses.boost;
maintainers = with maintainers; [ edwtjo knedlsepp ];
platforms = with platforms; unix;
platforms = platforms.unix ++ [ "x86_64-windows" ];
};
}

View file

@ -1,19 +1,25 @@
{ lib, stdenv, fetchFromGitHub, cmake, boost, catch2, metal }:
{ lib, stdenv, fetchFromGitHub, cmake, boost, catch2 }:
stdenv.mkDerivation rec {
pname = "fcppt";
version = "3.5.0";
version = "4.2.1";
src = fetchFromGitHub {
owner = "freundlich";
repo = "fcppt";
rev = version;
sha256 = "045cmn4sym6ria96l4fsc1vrs8l4xrl1gzkmja82f4ddj8qkji2f";
sha256 = "1pcmi2ck12nanw1rnwf8lmyx85iq20897k6daxx3hw5f23j1kxv6";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost catch2 metal ];
buildInputs = [ boost catch2 ];
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=false" "-DENABLE_BOOST=true" "-DENABLE_EXAMPLES=true" "-DENABLE_CATCH=true" "-DENABLE_TEST=true" ];
cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=false"
"-DENABLE_BOOST=true"
"-DENABLE_EXAMPLES=true"
"-DENABLE_CATCH=true"
"-DENABLE_TEST=true"
];
meta = with lib; {
description = "Freundlich's C++ toolkit";
@ -27,6 +33,6 @@ stdenv.mkDerivation rec {
homepage = "https://fcppt.org";
license = licenses.boost;
maintainers = with maintainers; [ pmiddend ];
platforms = platforms.linux;
platforms = [ "x86_64-linux" "x86_64-windows" ];
};
}