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; {
|
|
|
|
description = "A CLI task runner defined by a simple markdown file";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|