Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
anyio,
|
|
async-generator,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
cpyparsing,
|
|
ipykernel,
|
|
mypy,
|
|
pexpect,
|
|
pygments,
|
|
pytestCheckHook,
|
|
pythonAtLeast,
|
|
prompt-toolkit,
|
|
setuptools,
|
|
tkinter,
|
|
watchdog,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coconut";
|
|
version = "3.1.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "evhub";
|
|
repo = "coconut";
|
|
tag = "v${version}";
|
|
hash = "sha256-Vd6ZY3PlbPOy63/0/0YJ1U2PpsVdctOoInyKftj//cM=";
|
|
};
|
|
|
|
disabled = pythonAtLeast "3.13";
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
anyio
|
|
async-generator
|
|
cpyparsing
|
|
ipykernel
|
|
mypy
|
|
pygments
|
|
prompt-toolkit
|
|
setuptools
|
|
watchdog
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pexpect
|
|
pytestCheckHook
|
|
tkinter
|
|
];
|
|
|
|
# Currently most tests have performance issues
|
|
enabledTestPaths = [ "coconut/tests/constants_test.py" ];
|
|
|
|
pythonImportsCheck = [ "coconut" ];
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|