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

29 lines
623 B
Nix
Raw Normal View History

{ 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 ];
};
}