nixpkgs/pkgs/development/interpreters/rlci/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
673 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "rlci";
version = "1.1.2";
src = fetchFromGitHub {
owner = "orsinium-labs";
repo = "rlci";
rev = version;
hash = "sha256-+Hd1Ymm2LKnHUKoUlfN6D6pwebxgwJQHgqwMHXXtP6Y=";
};
cargoHash = "sha256-7Q6WSEiVLzRsyHNECbPhWN9prrN0A/nSJDtZWi09zzg=";
meta = with lib; {
description = "A lambda calculus interpreter";
mainProgram = "rlci";
homepage = "https://github.com/orsinium-labs/rlci";
changelog = "https://github.com/orsinium-labs/rlci/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}