mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
29 lines
623 B
Nix
29 lines
623 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 ];
|
|
};
|
|
}
|
|
|