Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 673 B view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5}: 6 7buildNpmPackage rec { 8 pname = "markdownlint-cli"; 9 version = "0.45.0"; 10 11 src = fetchFromGitHub { 12 owner = "igorshubovych"; 13 repo = "markdownlint-cli"; 14 rev = "v${version}"; 15 hash = "sha256-H6vK0ZJarNK9h3T/304SO8HNiZUGdrAA72wA6XPZbPQ="; 16 }; 17 18 npmDepsHash = "sha256-puRm56VO711HC/CXCfUfODfy7ZVwEhucjwIikiHCf5E="; 19 20 dontNpmBuild = true; 21 22 meta = { 23 description = "Command line interface for MarkdownLint"; 24 homepage = "https://github.com/igorshubovych/markdownlint-cli"; 25 license = lib.licenses.mit; 26 mainProgram = "markdownlint"; 27 maintainers = with lib.maintainers; [ ambroisie ]; 28 }; 29}