Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, python3Packages, fetchFromGitHub }:
2
3python3Packages.buildPythonApplication {
4 pname = "jelly";
5 version = "0.1.31";
6
7 src = fetchFromGitHub {
8 owner = "DennisMitchell";
9 repo = "jellylanguage";
10 rev = "70c9fd93ab009c05dc396f8cc091f72b212fb188";
11 sha256 = "1rpclqagvigp5qhvgnjavvy463f1drshnc1mfxm6z7ygzs0l0yz6";
12 };
13
14 propagatedBuildInputs = [ python3Packages.sympy ];
15
16 # checks are disabled because jelly has no tests, and the default is to run
17 # the output binary with no arguments, which exits with status 1 and causes
18 # the build to fail
19 doCheck = false;
20
21 meta = with lib; {
22 description = "A recreational programming language inspired by J";
23 homepage = "https://github.com/DennisMitchell/jellylanguage";
24 license = licenses.mit;
25 maintainers = [ maintainers.tckmn ];
26 platforms = platforms.all;
27 };
28}