1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "workshop-runner";
9 version = "0.2.3";
10
11 src = fetchFromGitHub {
12 owner = "mainmatter";
13 repo = "rust-workshop-runner";
14 rev = "v${version}";
15 hash = "sha256-PfQPRbOPK1Y/j8Xtg78oDzBFUx8eiM3ZwRul/ao0SgI=";
16 };
17
18 cargoHash = "sha256-opV2IrqMIwdgrXY6V0jxFtrdP8NVmdlUdsLdfFNimt0=";
19
20 meta = {
21 description = "CLI tool to drive test-driven Rust workshops";
22 homepage = "https://github.com/mainmatter/rust-workshop-runner";
23 license = with lib.licenses; [
24 mit
25 asl20
26 ];
27 platforms = lib.platforms.unix;
28 maintainers = with lib.maintainers; [ RaghavSood ];
29 mainProgram = "wr";
30 };
31}