about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/interpreters/jelly/default.nix
blob: 6f97b58dc6363720a3c2b8429a2ef1f0569bdbcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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";
    mainProgram = "jelly";
    homepage    = "https://github.com/DennisMitchell/jellylanguage";
    license     = licenses.mit;
    maintainers = [ maintainers.tckmn ];
    platforms   = platforms.all;
  };
}