nixpkgs/pkgs/development/interpreters/jelly/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
891 B
Nix

{ 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 = "Recreational programming language inspired by J";
mainProgram = "jelly";
homepage = "https://github.com/DennisMitchell/jellylanguage";
license = licenses.mit;
maintainers = [ maintainers.tckmn ];
platforms = platforms.all;
};
}