nixpkgs-suyu/pkgs/development/libraries/cxxtest/default.nix
2019-08-28 11:07:32 +00:00

28 lines
621 B
Nix

{ stdenv, fetchFromGitHub, python2Packages}:
let
pname = "cxxtest";
version = "4.4";
in python2Packages.buildPythonApplication {
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "CxxTest";
repo = pname;
rev = version;
sha256 = "19w92kipfhp5wvs47l0qpibn3x49sbmvkk91yxw6nwk6fafcdl17";
};
setSourceRoot = ''
sourceRoot=$(echo */python)
'';
meta = with stdenv.lib; {
homepage = http://cxxtest.com;
description = "Unit testing framework for C++";
platforms = platforms.unix ;
license = licenses.lgpl3;
maintainers = [ maintainers.juliendehos ];
};
}