1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-17 16:40:12 +00:00

py3c: init at 1.3.1

This commit is contained in:
ajs124 2021-04-29 17:49:33 +02:00
parent 5ef56ad9f1
commit e097d99f0d
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, python2, python3 }:
stdenv.mkDerivation rec {
pname = "py3c";
version = "1.3.1";
src = fetchFromGitHub {
owner = "encukou";
repo = pname;
rev = "v${version}";
sha256 = "04i2z7hrig78clc59q3i1z2hh24g7z1bfvxznlzxv00d4s57nhpi";
};
makeFlags = [
"prefix=${placeholder "out"}"
];
doCheck = true;
checkInputs = [
python2
python3
];
meta = with lib; {
homepage = "https://github.com/encukou/py3c";
description = "Python 2/3 compatibility layer for C extensions";
license = licenses.mit;
maintainers = with maintainers; [ ajs124 ];
};
}

View file

@ -12028,6 +12028,8 @@ in
pypy27Packages = pypy27.pkgs;
pypy3Packages = pypy3.pkgs;
py3c = callPackage ../development/libraries/py3c { };
pythonManylinuxPackages = callPackage ./../development/interpreters/python/manylinux { };
update-python-libraries = callPackage ../development/interpreters/python/update-python-libraries { };