Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenvNoCC, callPackage, lib }: 2 3let 4 pname = "postman"; 5 version = "10.12.0"; 6 meta = with lib; { 7 homepage = "https://www.getpostman.com"; 8 description = "API Development Environment"; 9 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 10 license = licenses.postman; 11 platforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; 12 maintainers = with maintainers; [ johnrichardrinehart evanjs tricktron Crafter ]; 13 }; 14 15in 16 17if stdenvNoCC.isDarwin 18then callPackage ./darwin.nix { inherit pname version meta; } 19else callPackage ./linux.nix { inherit pname version meta; }