nixpkgs/pkgs/development/tools/mask/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
742 B
Nix
Raw Normal View History

2021-09-09 02:49:41 +00:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "mask";
version = "0.11.3";
2021-09-09 02:49:41 +00:00
src = fetchFromGitHub {
2022-07-28 03:50:55 +00:00
owner = "jacobdeichert";
2021-09-09 02:49:41 +00:00
repo = pname;
rev = "v${version}";
sha256 = "sha256-mPnykI3scTBzGjDa8nawWYRvZBkq74/t5WMbMbs3zVE=";
2021-09-09 02:49:41 +00:00
};
cargoSha256 = "sha256-h58MA3F4UA4gp64UPnK6Tvlvr4PFvrVKmjp48lZjH68=";
2021-09-09 02:49:41 +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-07-28 03:50:55 +00:00
homepage = "https://github.com/jacobdeichert/mask";
changelog = "https://github.com/jacobdeichert/mask/blob/v${version}/CHANGELOG.md";
2021-09-09 02:49:41 +00:00
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}