1{ fetchFromGitHub, lib, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "mask";
5 version = "0.11.3";
6
7 src = fetchFromGitHub {
8 owner = "jacobdeichert";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-mPnykI3scTBzGjDa8nawWYRvZBkq74/t5WMbMbs3zVE=";
12 };
13
14 cargoSha256 = "sha256-h58MA3F4UA4gp64UPnK6Tvlvr4PFvrVKmjp48lZjH68=";
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 changelog = "https://github.com/jacobdeichert/mask/blob/v${version}/CHANGELOG.md";
23 license = licenses.mit;
24 maintainers = with maintainers; [ figsoda ];
25 };
26}