add regreet

This commit is contained in:
atagen 2023-06-20 15:34:48 +10:00
parent 48ad8a3fdf
commit 16e9c62f76
13 changed files with 406 additions and 303 deletions

View file

@ -1,44 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, cpyparsing
, ipykernel
, mypy
, pexpect
, pygments
, pytestCheckHook
, prompt-toolkit
, tkinter
, watchdog
, pkgs
}:let
pygments = pkgs.python310Packages.callPackage ./pygments.nix {};
in buildPythonPackage rec {
pname = "coconut";
version = "3.0.2";
{
lib,
buildPythonPackage,
fetchFromGitHub,
cpyparsing,
ipykernel,
mypy,
pexpect,
pygments,
pytestCheckHook,
prompt-toolkit,
tkinter,
watchdog,
pkgs,
}: let
pygments = pkgs.python310Packages.callPackage ./pygments.nix {};
in
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];
};
}