Merge pull request #202965 from dotlambda/reptyr-python3

This commit is contained in:
Martin Weinelt 2022-11-26 13:23:19 +01:00 committed by GitHub
commit d51c16969a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"