depot/third_party/nixpkgs/pkgs/development/web/postman/default.nix

20 lines
620 B
Nix
Raw Normal View History

{ stdenvNoCC, callPackage, lib }:
let
pname = "postman";
version = "10.18.6";
meta = with lib; {
homepage = "https://www.getpostman.com";
description = "API Development Environment";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.postman;
platforms = [ "x86_64-linux" "aarch64-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; }