2023-10-19 13:55:26 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "mask";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "0.11.4";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-09-09 14:08:57 +00:00
|
|
|
owner = "jacobdeichert";
|
2021-09-18 10:52:07 +00:00
|
|
|
repo = pname;
|
2023-10-19 13:55:26 +00:00
|
|
|
rev = "mask/${version}";
|
|
|
|
hash = "sha256-pi8dD4Fko39yn1maXNOqm+aDWYJhxE/b4kH7H18InbY=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
cargoHash = "sha256-zbvYSTR0m7S4m0WFQrCqCrMXqMcDW2oIMznD5PDdeHE=";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
# tests require mask to be installed
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI task runner defined by a simple markdown file";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "mask";
|
2022-09-09 14:08:57 +00:00
|
|
|
homepage = "https://github.com/jacobdeichert/mask";
|
2023-10-19 13:55:26 +00:00
|
|
|
changelog = "https://github.com/jacobdeichert/mask/blob/mask/${version}/CHANGELOG.md";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|