mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
722 B
Nix
32 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";
|
|
};
|
|
}
|