about summary refs log tree commit diff
path: root/pkgs/development/tools/mask/default.nix
blob: 343d41be6f10772553172e0fd5b20f75ea7f2929 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ fetchFromGitHub, lib, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "mask";
  version = "0.11.2";

  src = fetchFromGitHub {
    owner = "jacobdeichert";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-mlARZ05xppPvr6Z5uoveYt3Y3LtdMkbFqxW1EkX+ud0=";
  };

  cargoSha256 = "sha256-EulRz/IjLLvNT9YxyNjJynFEGyQ/Q2Out984xS9Wp5o=";

  # tests require mask to be installed
  doCheck = false;

  meta = with lib; {
    description = "A CLI task runner defined by a simple markdown file";
    homepage = "https://github.com/jacobdeichert/mask";
    license = licenses.mit;
    maintainers = with maintainers; [ figsoda ];
  };
}