Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 27 lines 770 B view raw
1{ lib, fetchFromGitHub, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "mask"; 5 version = "0.11.4"; 6 7 src = fetchFromGitHub { 8 owner = "jacobdeichert"; 9 repo = pname; 10 rev = "mask/${version}"; 11 hash = "sha256-pi8dD4Fko39yn1maXNOqm+aDWYJhxE/b4kH7H18InbY="; 12 }; 13 14 cargoHash = "sha256-zbvYSTR0m7S4m0WFQrCqCrMXqMcDW2oIMznD5PDdeHE="; 15 16 # tests require mask to be installed 17 doCheck = false; 18 19 meta = with lib; { 20 description = "CLI task runner defined by a simple markdown file"; 21 mainProgram = "mask"; 22 homepage = "https://github.com/jacobdeichert/mask"; 23 changelog = "https://github.com/jacobdeichert/mask/blob/mask/${version}/CHANGELOG.md"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ figsoda ]; 26 }; 27}