|
|
|
@ -1,7 +1,6 @@ |
|
|
|
|
{ stdenv |
|
|
|
|
, lib |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, fetchpatch |
|
|
|
|
, cmake |
|
|
|
|
, cppunit |
|
|
|
|
}: |
|
|
|
@ -20,13 +19,17 @@ stdenv.mkDerivation rec { |
|
|
|
|
nativeBuildInputs = [ cmake ]; |
|
|
|
|
checkInputs = [ cppunit ]; |
|
|
|
|
# Otherwise, tests fail since the resulting shared object libc++utilities.so is only available in PWD of the make files |
|
|
|
|
checkFlagsArray = [ "LD_LIBRARY_PATH=$(PWD)" ]; |
|
|
|
|
preCheck = '' |
|
|
|
|
checkFlagsArray+=( |
|
|
|
|
"LD_LIBRARY_PATH=$PWD" |
|
|
|
|
) |
|
|
|
|
''; |
|
|
|
|
doCheck = true; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
homepage = "https://github.com/Martchus/cpp-utilities"; |
|
|
|
|
description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities"; |
|
|
|
|
license = licenses.gpl2; |
|
|
|
|
license = licenses.gpl2Plus; |
|
|
|
|
maintainers = with maintainers; [ doronbehar ]; |
|
|
|
|
platforms = platforms.linux; |
|
|
|
|
}; |
|
|
|
|