Merge pull request #294240 from fabaff/cpyparsing-fix
python311Packages.cpyparsing: use cython_3, python311Packages.coconut: refactor
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user