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";
|
2024-10-11 05:15:48 +00:00
|
|
|
version = "6.2.1";
|
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}";
|
2024-10-11 05:15:48 +00:00
|
|
|
hash = "sha256-p0/uHrLiqw5VnboXzLKF+f56ZfW77m5aoopf2zqIpQE=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
npmDepsHash = "sha256-HQ5V0hisolXqWV/oWlroCzC7ZoNw0P9bwTxFyUrL3Hc=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.getpostman.com";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Command-line collection runner for Postman";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "newman";
|
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;
|
|
|
|
};
|
|
|
|
}
|