reptyr: run tests using python3

This commit is contained in:
Robert Schütz 2022-11-25 18:21:12 -08:00
parent 5bb01fc844
commit 26c8738f3a

View File

@ -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"