nixpkgs/pkgs/development/libraries/cxxtest/default.nix

29 lines
621 B
Nix
Raw Normal View History

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