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:
parent
29b5c72cbc
commit
b72dfa7b7b
35
pkgs/development/libraries/cxxtest/default.nix
Normal file
35
pkgs/development/libraries/cxxtest/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue