Skip to content

Commit ef44daa

Browse files
committed
python3Packages.pycparser-fake-libc: init at 2.21
1 parent 9136383 commit ef44daa

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
setuptools,
6+
}:
7+
8+
buildPythonPackage rec {
9+
pname = "pycparser-fake-libc";
10+
version = "2.21";
11+
pyproject = true;
12+
13+
# Fetching from GitHub causes headers to not be included
14+
src = fetchPypi {
15+
inherit pname version;
16+
hash = "sha256-pG+12tpUgYLDnaNAps1zZoUTWf+3je4nzGGdZcM6Ueg=";
17+
};
18+
19+
build-system = [ setuptools ];
20+
21+
pythonImportsCheck = [ "pycparser_fake_libc" ];
22+
23+
# No tests
24+
doCheck = false;
25+
26+
meta = {
27+
changelog = "https://github.com/ThomasGerstenberg/pycparser-fake-libc/releases/tag/v${src.version}";
28+
description = "Pip-installable package which contains the fake libc headers from pycparser ";
29+
homepage = "https://github.com/ThomasGerstenberg/pycparser-fake-libc";
30+
license = lib.licenses.bsd3;
31+
maintainers = [ lib.maintainers.gigahawk ];
32+
};
33+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13383,6 +13383,8 @@ self: super: with self; {
1338313383

1338413384
pycparser = callPackage ../development/python-modules/pycparser { };
1338513385

13386+
pycparser-fake-libc = callPackage ../development/python-modules/pycparser-fake-libc { };
13387+
1338613388
pycrashreport = callPackage ../development/python-modules/pycrashreport { };
1338713389

1338813390
pycrdt = callPackage ../development/python-modules/pycrdt { };

0 commit comments

Comments
 (0)