trying out xonsh
This commit is contained in:
parent
0442a88d08
commit
cb51f8e6d6
10 changed files with 296 additions and 29 deletions
44
pkgs/coconut.nix
Normal file
44
pkgs/coconut.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ 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;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ];
|
||||
|
||||
checkInputs = [ pexpect pytestCheckHook tkinter ];
|
||||
|
||||
# Currently most tests have performance issues
|
||||
pytestFlagsArray = [
|
||||
"coconut/tests/constants_test.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "coconut" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://coconut-lang.org/";
|
||||
description = "Simple, elegant, Pythonic functional programming";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fabianhjr ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue