nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildNpmPackage
3, fetchFromGitHub
4}:
5
6buildNpmPackage rec {
7 pname = "newman";
8 version = "5.3.2";
9
10 src = fetchFromGitHub {
11 owner = "postmanlabs";
12 repo = "newman";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-j5YS9Zbk9b3K4+0sGzqtCgEsR+S5nGPf/rebeGzsscA=";
15 };
16
17 npmDepsHash = "sha256-FwVmesHtzTZKsTCIfZiRPb1zf7q5LqABAZOh8gXB9qw=";
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 changelog = "https://github.com/postmanlabs/newman/releases/tag/v${version}";
25 maintainers = with maintainers; [ freezeboy ];
26 license = licenses.asl20;
27 };
28}