depot/third_party/nixpkgs/pkgs/development/tools/mask/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
770 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "mask";
version = "0.11.4";
src = fetchFromGitHub {
owner = "jacobdeichert";
repo = pname;
rev = "mask/${version}";
hash = "sha256-pi8dD4Fko39yn1maXNOqm+aDWYJhxE/b4kH7H18InbY=";
};
cargoHash = "sha256-zbvYSTR0m7S4m0WFQrCqCrMXqMcDW2oIMznD5PDdeHE=";
# tests require mask to be installed
doCheck = false;
meta = with lib; {
description = "CLI task runner defined by a simple markdown file";
mainProgram = "mask";
homepage = "https://github.com/jacobdeichert/mask";
changelog = "https://github.com/jacobdeichert/mask/blob/mask/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}