mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 12:38:32 +00:00
Merge pull request #202965 from dotlambda/reptyr-python3
This commit is contained in:
commit
d51c16969a
@ -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