Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 708 B view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5}: 6 7buildNpmPackage rec { 8 pname = "newman"; 9 version = "6.2.1"; 10 11 src = fetchFromGitHub { 12 owner = "postmanlabs"; 13 repo = "newman"; 14 tag = "v${version}"; 15 hash = "sha256-p0/uHrLiqw5VnboXzLKF+f56ZfW77m5aoopf2zqIpQE="; 16 }; 17 18 npmDepsHash = "sha256-HQ5V0hisolXqWV/oWlroCzC7ZoNw0P9bwTxFyUrL3Hc="; 19 20 dontNpmBuild = true; 21 22 meta = { 23 homepage = "https://www.getpostman.com"; 24 description = "Command-line collection runner for Postman"; 25 mainProgram = "newman"; 26 changelog = "https://github.com/postmanlabs/newman/releases/tag/v${version}"; 27 maintainers = with lib.maintainers; [ freezeboy ]; 28 license = lib.licenses.asl20; 29 }; 30}