2016-11-09 13:15:15 +03:00
|
|
|
{ stdenv, fetchFromGitHub, python2Packages}:
|
2016-07-29 18:07:10 +03:00
|
|
|
|
2016-11-09 13:15:15 +03:00
|
|
|
let
|
2016-11-09 13:24:32 +03:00
|
|
|
pname = "cxxtest";
|
2016-07-29 18:07:10 +03:00
|
|
|
version = "4.4";
|
2016-11-09 13:24:32 +03:00
|
|
|
in python2Packages.buildPythonApplication rec {
|
|
|
|
name = "${pname}-${version}";
|
2016-07-29 18:07:10 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CxxTest";
|
2016-11-09 13:24:32 +03:00
|
|
|
repo = pname;
|
2016-07-29 18:07:10 +03:00
|
|
|
rev = version;
|
|
|
|
sha256 = "19w92kipfhp5wvs47l0qpibn3x49sbmvkk91yxw6nwk6fafcdl17";
|
|
|
|
};
|
|
|
|
|
2017-11-02 15:54:20 +03:00
|
|
|
setSourceRoot = ''
|
|
|
|
sourceRoot=$(echo */python)
|
|
|
|
'';
|
2016-07-29 18:07:10 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = http://cxxtest.com;
|
2016-07-29 18:07:10 +03:00
|
|
|
description = "Unit testing framework for C++";
|
|
|
|
platforms = platforms.unix ;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|