depot/pkgs/development/tools/rust/specr-transpile/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
591 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "specr-transpile";
version = "0.1.25";
src = fetchCrate {
inherit pname version;
hash = "sha256-yB4b7VaZ22zk8jhQijBOWRks22TV19q9IQNlVXyBlss=";
};
cargoHash = "sha256-pD+Llzt4ekkQgKGidEL6jIbbFpuqjuFTmQM29FtReTY=";
meta = with lib; {
description = "Converts Specr lang code to Rust";
mainProgram = "specr-transpile";
homepage = "https://github.com/RalfJung/minirust-tooling";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda ];
};
}