nixpkgs/pkgs/development/web/postman/default.nix
2022-10-05 00:01:58 +02:00

19 lines
603 B
Nix

{ stdenvNoCC, callPackage, lib }:
let
pname = "postman";
version = "9.31.0";
meta = with lib; {
homepage = "https://www.getpostman.com";
description = "API Development Environment";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.postman;
platforms = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ];
maintainers = with maintainers; [ johnrichardrinehart evanjs tricktron Crafter ];
};
in
if stdenvNoCC.isDarwin
then callPackage ./darwin.nix { inherit pname version meta; }
else callPackage ./linux.nix { inherit pname version meta; }