linted
This commit is contained in:
atagen 2025-02-02 16:57:31 +11:00
parent 4e99a0e323
commit 7485de646a
95 changed files with 2743 additions and 2282 deletions

View file

@ -12,35 +12,47 @@
tkinter,
watchdog,
pkgs,
}: let
pygments = pkgs.python310Packages.callPackage ./pygments.nix {};
}:
let
pygments = pkgs.python310Packages.callPackage ./pygments.nix { };
in
buildPythonPackage rec {
pname = "coconut";
version = "3.0.2";
buildPythonPackage rec {
pname = "coconut";
version = "3.0.2";
src = fetchFromGitHub {
owner = "evhub";
repo = "coconut";
rev = "v${version}";
sha256 = lib.fakeSha256;
};
src = fetchFromGitHub {
owner = "evhub";
repo = "coconut";
rev = "v${version}";
sha256 = lib.fakeSha256;
};
propagatedBuildInputs = [cpyparsing ipykernel mypy pygments prompt-toolkit watchdog];
propagatedBuildInputs = [
cpyparsing
ipykernel
mypy
pygments
prompt-toolkit
watchdog
];
checkInputs = [pexpect pytestCheckHook tkinter];
checkInputs = [
pexpect
pytestCheckHook
tkinter
];
# Currently most tests have performance issues
pytestFlagsArray = [
"coconut/tests/constants_test.py"
];
# Currently most tests have performance issues
pytestFlagsArray = [
"coconut/tests/constants_test.py"
];
pythonImportsCheck = ["coconut"];
pythonImportsCheck = [ "coconut" ];
meta = with lib; {
homepage = "http://coconut-lang.org/";
description = "Simple, elegant, Pythonic functional programming";
license = licenses.asl20;
maintainers = with maintainers; [fabianhjr];
};
}
meta = with lib; {
homepage = "http://coconut-lang.org/";
description = "Simple, elegant, Pythonic functional programming";
license = licenses.asl20;
maintainers = with maintainers; [ fabianhjr ];
};
}