at 18.09-beta 28 lines 625 B view raw
1{ stdenv, fetchFromGitHub, python2Packages}: 2 3let 4 pname = "cxxtest"; 5 version = "4.4"; 6in python2Packages.buildPythonApplication rec { 7 name = "${pname}-${version}"; 8 9 src = fetchFromGitHub { 10 owner = "CxxTest"; 11 repo = pname; 12 rev = version; 13 sha256 = "19w92kipfhp5wvs47l0qpibn3x49sbmvkk91yxw6nwk6fafcdl17"; 14 }; 15 16 setSourceRoot = '' 17 sourceRoot=$(echo */python) 18 ''; 19 20 meta = with stdenv.lib; { 21 homepage = http://cxxtest.com; 22 description = "Unit testing framework for C++"; 23 platforms = platforms.unix ; 24 license = licenses.lgpl3; 25 maintainers = [ maintainers.juliendehos ]; 26 }; 27} 28