nixpkgs/pkgs/development/libraries/cxxtest/default.nix
2017-11-02 13:53:36 +00:00

29 lines
625 B
Nix

{ stdenv, fetchFromGitHub, python2Packages}:
let
pname = "cxxtest";
version = "4.4";
in python2Packages.buildPythonApplication rec {
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 ];
};
}