mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
30 lines
717 B
Nix
30 lines
717 B
Nix
{ lib
|
|
, buildNpmPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "newman";
|
|
version = "6.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "postmanlabs";
|
|
repo = "newman";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-CHlch4FoaW42oWxlaAEuNBLTM1hSwLK+nvBfE17GNHU=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-ez6FXuu1gMBfJvgmOKs+zoUVMWwBPgJH33BbbLNL0Vk=";
|
|
|
|
dontNpmBuild = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.getpostman.com";
|
|
description = "A command-line collection runner for Postman";
|
|
mainProgram = "newman";
|
|
changelog = "https://github.com/postmanlabs/newman/releases/tag/v${version}";
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
license = licenses.asl20;
|
|
};
|
|
}
|