1{ fetchFromGitHub, lib, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "mask";
5 version = "0.11.2";
6
7 src = fetchFromGitHub {
8 owner = "jacobdeichert";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-mlARZ05xppPvr6Z5uoveYt3Y3LtdMkbFqxW1EkX+ud0=";
12 };
13
14 cargoSha256 = "sha256-EulRz/IjLLvNT9YxyNjJynFEGyQ/Q2Out984xS9Wp5o=";
15
16 # tests require mask to be installed
17 doCheck = false;
18
19 meta = with lib; {
20 description = "A CLI task runner defined by a simple markdown file";
21 homepage = "https://github.com/jacobdeichert/mask";
22 license = licenses.mit;
23 maintainers = with maintainers; [ figsoda ];
24 };
25}