nixpkgs/pkgs/by-name/sp/spl/package.nix
2024-12-02 22:20:00 +01:00

29 lines
667 B
Nix

{
lib,
fetchgit,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "spl";
version = "0.4.2";
passthru.updateScript = nix-update-script { };
src = fetchgit {
url = "https://git.tudbut.de/tudbut/spl";
rev = "v${version}";
hash = "sha256-cU6qSh4HM3os/A1w0+5TSZLkS2Y/C864qvmixkxPAh8=";
};
cargoHash = "sha256-AWkyh3MRtnK+IzXu+h6jurNVMLDQVlBs2RsS2jn9lrA=";
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";
};
}