nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #202965 from dotlambda/reptyr-python3

authored by

Martin Weinelt and committed by
GitHub
d51c1696 16817d46

+10 -3
+10 -3
pkgs/os-specific/linux/reptyr/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, python2 }: 1 + { stdenv, lib, fetchFromGitHub, python3 }: 2 2 3 - stdenv.mkDerivation rec { 3 + let 4 + python = python3.withPackages (p: [ p.pexpect ]); 5 + in stdenv.mkDerivation rec { 4 6 version = "0.9.0"; 5 7 pname = "reptyr"; 6 8 ··· 15 13 16 14 makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ]; 17 15 18 - checkInputs = [ (python2.withPackages (p: [ p.pexpect ])) ]; 16 + checkInputs = [ python ]; 17 + 19 18 doCheck = true; 19 + 20 + checkFlags = [ 21 + "PYTHON_CMD=${python.interpreter}" 22 + ]; 20 23 21 24 meta = { 22 25 platforms = [