2024-09-06 15:30:29 -06:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchgit,
|
|
|
|
rustPlatform,
|
2024-11-24 14:18:26 -07:00
|
|
|
nix-update-script,
|
2024-09-06 15:30:29 -06:00
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "spl";
|
2024-12-02 14:20:00 -07:00
|
|
|
version = "0.4.2";
|
2024-11-24 14:18:26 -07:00
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
2024-09-06 15:30:29 -06:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.tudbut.de/tudbut/spl";
|
|
|
|
rev = "v${version}";
|
2024-12-02 14:20:00 -07:00
|
|
|
hash = "sha256-cU6qSh4HM3os/A1w0+5TSZLkS2Y/C864qvmixkxPAh8=";
|
2024-09-06 15:30:29 -06:00
|
|
|
};
|
|
|
|
|
2024-12-02 14:20:00 -07:00
|
|
|
cargoHash = "sha256-AWkyh3MRtnK+IzXu+h6jurNVMLDQVlBs2RsS2jn9lrA=";
|
2024-09-06 15:30:29 -06:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple, concise, concatenative scripting language";
|
|
|
|
homepage = "https://git.tudbut.de/tudbut/spl";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ tudbut ];
|
|
|
|
mainProgram = "spl";
|
|
|
|
};
|
|
|
|
}
|