2021-09-09 04:49:41 +02:00
|
|
|
{ fetchFromGitHub, lib, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "mask";
|
2022-02-16 22:22:11 +01:00
|
|
|
version = "0.11.1";
|
2021-09-09 04:49:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jakedeichert";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-16 22:22:11 +01:00
|
|
|
sha256 = "sha256-qRN9M/DxkxcF1/dmYqmf3qB8yHzuaN3LRENy1ehgg0c=";
|
2021-09-09 04:49:41 +02:00
|
|
|
};
|
|
|
|
|
2022-02-16 22:22:11 +01:00
|
|
|
cargoSha256 = "sha256-7ts63n9aGtaK8INBh11TShOQCVpV+82VADmNbKURv+g=";
|
2021-09-09 04:49:41 +02:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|