1{ lib
2, buildNpmPackage
3, fetchFromGitHub
4}:
5
6buildNpmPackage rec {
7 pname = "newman";
8 version = "6.1.2";
9
10 src = fetchFromGitHub {
11 owner = "postmanlabs";
12 repo = "newman";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-BQVJNOTVtB1g6+PsHJ5nbN9X7b33d/3qkSUcHTMexB0=";
15 };
16
17 npmDepsHash = "sha256-kr4LozGpmmU5g2LIKd+SaKbHsOM6hnlflM79c4tFII8=";
18
19 dontNpmBuild = true;
20
21 meta = with lib; {
22 homepage = "https://www.getpostman.com";
23 description = "A command-line collection runner for Postman";
24 mainProgram = "newman";
25 changelog = "https://github.com/postmanlabs/newman/releases/tag/v${version}";
26 maintainers = with maintainers; [ freezeboy ];
27 license = licenses.asl20;
28 };
29}