py3c: only run tests on python3

This commit is contained in:
Robert Schütz 2022-11-25 10:20:15 -08:00
parent eed5d735b4
commit eb35d2924f

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python2, python3 }:
{ lib, stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec {
pname = "py3c";
@ -25,10 +25,11 @@ stdenv.mkDerivation rec {
doCheck = true;
checkInputs = [
python2
python3
];
checkTarget = "test-python";
meta = with lib; {
homepage = "https://github.com/encukou/py3c";
description = "Python 2/3 compatibility layer for C extensions";