py3c: init at 1.3.1
This commit is contained in:
parent
5ef56ad9f1
commit
e097d99f0d
31
pkgs/development/libraries/py3c/default.nix
Normal file
31
pkgs/development/libraries/py3c/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -12028,6 +12028,8 @@ in
|
|||||||
pypy27Packages = pypy27.pkgs;
|
pypy27Packages = pypy27.pkgs;
|
||||||
pypy3Packages = pypy3.pkgs;
|
pypy3Packages = pypy3.pkgs;
|
||||||
|
|
||||||
|
py3c = callPackage ../development/libraries/py3c { };
|
||||||
|
|
||||||
pythonManylinuxPackages = callPackage ./../development/interpreters/python/manylinux { };
|
pythonManylinuxPackages = callPackage ./../development/interpreters/python/manylinux { };
|
||||||
|
|
||||||
update-python-libraries = callPackage ../development/interpreters/python/update-python-libraries { };
|
update-python-libraries = callPackage ../development/interpreters/python/update-python-libraries { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user