mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
cxxtest: use python2
This commit is contained in:
parent
90d0bde89a
commit
0fbbf411b3
@ -1,6 +1,8 @@
|
|||||||
{ stdenv, fetchFromGitHub, pythonPackages}:
|
{ stdenv, fetchFromGitHub, python2Packages}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
inherit (python2Packages) python wrapPython;
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
version = "4.4";
|
version = "4.4";
|
||||||
name = "cxxtest";
|
name = "cxxtest";
|
||||||
|
|
||||||
@ -11,11 +13,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "19w92kipfhp5wvs47l0qpibn3x49sbmvkk91yxw6nwk6fafcdl17";
|
sha256 = "19w92kipfhp5wvs47l0qpibn3x49sbmvkk91yxw6nwk6fafcdl17";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with pythonPackages; [ python wrapPython ];
|
buildInputs = [ python wrapPython ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cd python
|
cd python
|
||||||
python setup.py install --prefix=$out
|
${python.interpreter} setup.py install --prefix=$out
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
mkdir -p $out/include
|
mkdir -p $out/include
|
||||||
|
Loading…
Reference in New Issue
Block a user