2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "newman";
|
|
|
|
version = "5.3.2";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "postmanlabs";
|
|
|
|
repo = "newman";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-j5YS9Zbk9b3K4+0sGzqtCgEsR+S5nGPf/rebeGzsscA=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
npmDepsHash = "sha256-FwVmesHtzTZKsTCIfZiRPb1zf7q5LqABAZOh8gXB9qw=";
|
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.getpostman.com";
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "A command-line collection runner for Postman";
|
2023-05-24 13:37:59 +00:00
|
|
|
changelog = "https://github.com/postmanlabs/newman/releases/tag/v${version}";
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|