reptyr: run tests using python3
This commit is contained in:
parent
5bb01fc844
commit
26c8738f3a
@ -1,6 +1,8 @@
|
||||
{ stdenv, lib, fetchFromGitHub, python2 }:
|
||||
{ stdenv, lib, fetchFromGitHub, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
python = python3.withPackages (p: [ p.pexpect ]);
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "0.9.0";
|
||||
pname = "reptyr";
|
||||
|
||||
@ -13,9 +15,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
|
||||
|
||||
checkInputs = [ (python2.withPackages (p: [ p.pexpect ])) ];
|
||||
checkInputs = [ python ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkFlags = [
|
||||
"PYTHON_CMD=${python.interpreter}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
platforms = [
|
||||
"i686-linux"
|
||||
|
Loading…
Reference in New Issue
Block a user