1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

cxxtest: init at 4.4

This commit is contained in:
Julien Dehos 2016-07-29 17:07:10 +02:00
parent 29b5c72cbc
commit b72dfa7b7b
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub, pythonPackages}:
stdenv.mkDerivation rec {
version = "4.4";
name = "cxxtest";
src = fetchFromGitHub {
owner = "CxxTest";
repo = name;
rev = version;
sha256 = "19w92kipfhp5wvs47l0qpibn3x49sbmvkk91yxw6nwk6fafcdl17";
};
buildInputs = with pythonPackages; [ python wrapPython ];
installPhase = ''
cd python
python setup.py install --prefix=$out
cd ..
mkdir -p $out/include
cp -R cxxtest $out/include/
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
meta = with stdenv.lib; {
homepage = "http://cxxtest.com";
description = "Unit testing framework for C++";
platforms = platforms.unix ;
license = licenses.lgpl3;
maintainers = [ maintainers.juliendehos ];
};
}

View file

@ -7075,6 +7075,8 @@ in
cxx-prettyprint = callPackage ../development/libraries/cxx-prettyprint { };
cxxtest = callPackage ../development/libraries/cxxtest { };
cyrus_sasl = callPackage ../development/libraries/cyrus-sasl {
kerberos = if stdenv.isFreeBSD then libheimdal else kerberos;
};