Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, rustPlatform
3, fetchFromGitHub
4}:
5
6rustPlatform.buildRustPackage rec {
7 pname = "rlci";
8 version = "1.1.2";
9
10 src = fetchFromGitHub {
11 owner = "orsinium-labs";
12 repo = "rlci";
13 rev = version;
14 hash = "sha256-+Hd1Ymm2LKnHUKoUlfN6D6pwebxgwJQHgqwMHXXtP6Y=";
15 };
16
17 cargoHash = "sha256-7Q6WSEiVLzRsyHNECbPhWN9prrN0A/nSJDtZWi09zzg=";
18
19 meta = with lib; {
20 description = "Lambda calculus interpreter";
21 mainProgram = "rlci";
22 homepage = "https://github.com/orsinium-labs/rlci";
23 changelog = "https://github.com/orsinium-labs/rlci/releases/tag/${src.rev}";
24 license = licenses.mit;
25 maintainers = with maintainers; [ figsoda ];
26 };
27}