nixpkgs/pkgs/by-name/po/postman/package.nix

38 lines
824 B
Nix

{
stdenvNoCC,
callPackage,
lib,
}:
let
pname = "postman";
version = "11.50.5";
meta = with lib; {
homepage = "https://www.getpostman.com";
changelog = "https://www.postman.com/release-notes/postman-app/#${
replaceStrings [ "." ] [ "-" ] version
}";
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.hostPlatform.isDarwin then
callPackage ./darwin.nix { inherit pname version meta; }
else
callPackage ./linux.nix { inherit pname version meta; }