Merge pull request #294240 from fabaff/cpyparsing-fix

python311Packages.cpyparsing: use cython_3, python311Packages.coconut: refactor
This commit is contained in:
Fabian Affolter
2024-03-08 10:23:20 +01:00
committed by GitHub
2 changed files with 15 additions and 6 deletions
@@ -1,4 +1,6 @@
{ lib
, anyio
, async-generator
, buildPythonPackage
, fetchFromGitHub
, cpyparsing
@@ -30,6 +32,8 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
anyio
async-generator
cpyparsing
ipykernel
mypy
@@ -50,11 +54,14 @@ buildPythonPackage rec {
"coconut/tests/constants_test.py"
];
pythonImportsCheck = [ "coconut" ];
pythonImportsCheck = [
"coconut"
];
meta = with lib; {
homepage = "http://coconut-lang.org/";
description = "Simple, elegant, Pythonic functional programming";
homepage = "http://coconut-lang.org/";
changelog = "https://github.com/evhub/coconut/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fabianhjr ];
};
@@ -1,28 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, cython
, cython_3
, pexpect
, python
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "cpyparsing";
version = "2.4.7.2.3.2";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "evhub";
repo = pname;
repo = "cpyparsing";
rev = "refs/tags/v${version}";
hash = "sha256-vnzZdJ7pZz1QxlTqw5UKjxB4GVcXuCfKWX4lu3ORWas=";
};
nativeBuildInputs = [
cython
cython_3
setuptools
];
nativeCheckInputs = [