Commit 26c8738f authored by Robert Schütz's avatar Robert Schütz
Browse files

reptyr: run tests using python3

parent 5bb01fc8
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
{ 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"