mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 05:54:24 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
30 lines
891 B
Nix
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;
|
|
};
|
|
}
|