nixpkgs/pkgs/by-name/wo/workshop-runner/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

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";
};
}