about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/mask/default.nix
blob: 25ab4ceab5f58517d3e7e1386abcf47f7d1ab581 (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.0";

  src = fetchFromGitHub {
    owner = "jakedeichert";
    repo = pname;
    rev = "v${version}";
    sha256 = "0gsfs837nzh71df6p6klcsgxp471c8hq14xqd62q5bsv7jg9dygc";
  };

  cargoSha256 = "1h4sasqdl3rli0v6lizdci0vvr2fvbyhllddxwv8vx8r7w9ry963";

  # 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/jakedeichert/mask";
    license = licenses.mit;
    maintainers = with maintainers; [ figsoda ];
  };
}