summary refs log tree commit diff
path: root/pkgs/development/web/newman/default.nix
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-07-12 10:22:25 +0200
committerfreezeboy <freezeboy@users.noreply.github.com>2020-09-11 12:35:38 +0200
commit554c1c4c24a2d95939697a35158d59b3c2004326 (patch)
tree86e95da65482a7e4b68c102b46cf4836dd622307 /pkgs/development/web/newman/default.nix
parent28224516e5cfce2782fc8bbc700ca814d4648cb7 (diff)
newman: init at 5.2.0
Diffstat (limited to 'pkgs/development/web/newman/default.nix')
-rw-r--r--pkgs/development/web/newman/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/web/newman/default.nix b/pkgs/development/web/newman/default.nix
new file mode 100644
index 0000000000000..ed4041ab76f01
--- /dev/null
+++ b/pkgs/development/web/newman/default.nix
@@ -0,0 +1,19 @@
+{ pkgs, nodejs, stdenv, lib, ... }:
+
+let
+
+  packageName = with lib; concatStrings (map (entry: (concatStrings (mapAttrsToList (key: value: "${key}-${value}") entry))) (importJSON ./package.json));
+
+  nodePackages = import ./node-composition.nix {
+    inherit pkgs nodejs;
+    inherit (stdenv.hostPlatform) system;
+  };
+in
+nodePackages.newman.override {
+  meta = with lib; {
+    homepage = "https://www.getpostman.com";
+    description = "Newman is a command-line collection runner for Postman";
+    maintainers = with maintainers; [ freezeboy ];
+    license = licenses.asl20;
+  };
+}