nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchgit,
4 rustPlatform,
5 nix-update-script,
6}:
7rustPlatform.buildRustPackage rec {
8 pname = "spl";
9 version = "0.4.3";
10
11 passthru.updateScript = nix-update-script { };
12
13 src = fetchgit {
14 url = "https://git.tudbut.de/tudbut/spl";
15 rev = "v${version}";
16 hash = "sha256-ckj50psQ2/r7Bw03J2VjHx0R1zY5xivJfvB9HNxnJLw=";
17 };
18
19 cargoHash = "sha256-rq6GO+5qXM22JoAGdAM3Bb6/U0+x5sRYUjnZQUpzcGA=";
20
21 meta = {
22 description = "Simple, concise, concatenative scripting language";
23 homepage = "https://git.tudbut.de/tudbut/spl";
24 license = lib.licenses.mit;
25 maintainers = with lib.maintainers; [ tudbut ];
26 mainProgram = "spl";
27 };
28}