summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/jelly
diff options
context:
space:
mode:
authortckmn <andy@tck.mn>2020-05-04 08:01:03 -0500
committerGitHub <noreply@github.com>2020-05-04 18:31:03 +0530
commit7493a7eb91e9cc8225c4ab639f716273cbdb6250 (patch)
tree0ad623591a07981a05bef72eb26b4d96fe62db38 /pkgs/development/interpreters/jelly
parentf5704b97d22d48e86eeb99ac73e741f60f2b43db (diff)
jelly: init at 0.1.31 (#82178)
Diffstat (limited to 'pkgs/development/interpreters/jelly')
-rw-r--r--pkgs/development/interpreters/jelly/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/jelly/default.nix b/pkgs/development/interpreters/jelly/default.nix
new file mode 100644
index 000000000000..a317f35d2a78
--- /dev/null
+++ b/pkgs/development/interpreters/jelly/default.nix
@@ -0,0 +1,28 @@
+{ lib, python3Packages, fetchFromGitHub }:
+
+python3Packages.buildPythonApplication {
+ pname = "jelly";
+ version = "0.1.31";
+
+ src = fetchFromGitHub {
+ owner = "DennisMitchell";
+ repo = "jellylanguage";
+ rev = "70c9fd93ab009c05dc396f8cc091f72b212fb188";
+ sha256 = "1rpclqagvigp5qhvgnjavvy463f1drshnc1mfxm6z7ygzs0l0yz6";
+ };
+
+ propagatedBuildInputs = [ python3Packages.sympy ];
+
+ # checks are disabled because jelly has no tests, and the default is to run
+ # the output binary with no arguments, which exits with status 1 and causes
+ # the build to fail
+ doCheck = false;
+
+ meta = with lib; {
+ description = "A recreational programming language inspired by J";
+ homepage = https://github.com/DennisMitchell/jellylanguage;
+ license = licenses.mit;
+ maintainers = [ maintainers.tckmn ];
+ platforms = platforms.all;
+ };
+}