depot/pkgs/by-name/wo/workshop-runner/package.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

31 lines
722 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "workshop-runner";
version = "0.1.5";
src = fetchFromGitHub {
owner = "mainmatter";
repo = "rust-workshop-runner";
rev = "v${version}";
hash = "sha256-2lt4RloIRnFvWZ+HeZx7M2cg/wHb1/j0qDmhUhOoF+M=";
};
cargoHash = "sha256-VoIAwPrkhrRl48czXtKWmLTktsZ/U4TVV924wx0DL+A=";
meta = {
description = "CLI tool to drive test-driven Rust workshops";
homepage = "https://github.com/mainmatter/rust-workshop-runner";
license = with lib.licenses; [
mit
asl20
];
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ RaghavSood ];
mainProgram = "wr";
};
}