Loading pkgs/by-name/ho/hoppscotch/package.nix +70 −50 Original line number Diff line number Diff line { lib , stdenv , fetchurl , appimageTools , undmg { lib, stdenv, fetchurl, appimageTools, undmg, copyDesktopItems, }: let pname = "hoppscotch"; version = "24.3.3-1"; version = "24.8.1-0"; src = fetchurl { src = fetchurl { aarch64-darwin = { url = "https://github.com/hoppscotch/releases/releases/download/v${version}/Hoppscotch_mac_aarch64.dmg"; hash = "sha256-litOYRsUOx6VpkA1LPx7aGGagqIVL9fgNsYoP5n/2mo="; hash = "sha256-Tc6lQbMZHX4Wl0R3fGClRr27fFTrYTxMtAkSPCw8mrw="; }; x86_64-darwin = { url = "https://github.com/hoppscotch/releases/releases/download/v${version}/Hoppscotch_mac_x64.dmg"; hash = "sha256-UG89Fv9J8SnzPVoIO16LOprxPmZuu/zyox1b+jn+eNw="; hash = "sha256-c3UHntrLRoXfmz8LL3Xu8mjBtyf952/tYMFqbTyECR0="; }; x86_64-linux = { url = "https://github.com/hoppscotch/releases/releases/download/v${version}/Hoppscotch_linux_x64.AppImage"; hash = "sha256-110l1DTyvH2M0ex1r35Q+55NiJ8nYum1KdWQXDvAdxo="; hash = "sha256-Aegc4kiLPtY+hlQtfYR3uztqs8Gj9fbUcAZ1XB8i1Pw="; }; }.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); } .${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); meta = with lib; { meta = { description = "Open source API development ecosystem"; longDescription = '' Hoppscotch is a lightweight, web-based API development suite. It was built Loading @@ -34,17 +39,26 @@ let ''; homepage = "https://hoppscotch.com"; downloadPage = "https://hoppscotch.com/downloads"; changelog = "https://hoppscotch.com/changelog"; license = licenses.mit; maintainers = with maintainers; [ DataHearth ]; changelog = "https://github.com/hoppscotch/hoppscotch/releases/tag/2024.8.1"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ DataHearth ]; mainProgram = "hoppscotch"; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; sourceProvenance = [ sourceTypes.binaryNativeCode ]; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; }; in if stdenv.isDarwin then stdenv.mkDerivation { inherit pname version src meta; if stdenv.isDarwin then stdenv.mkDerivation { inherit pname version src meta ; sourceRoot = "."; Loading @@ -59,8 +73,14 @@ if stdenv.isDarwin then stdenv.mkDerivation runHook postInstall ''; } else appimageTools.wrapType2 { inherit pname version src meta; else appimageTools.wrapType2 { inherit pname version src meta ; extraInstallCommands = let Loading Loading
pkgs/by-name/ho/hoppscotch/package.nix +70 −50 Original line number Diff line number Diff line { lib , stdenv , fetchurl , appimageTools , undmg { lib, stdenv, fetchurl, appimageTools, undmg, copyDesktopItems, }: let pname = "hoppscotch"; version = "24.3.3-1"; version = "24.8.1-0"; src = fetchurl { src = fetchurl { aarch64-darwin = { url = "https://github.com/hoppscotch/releases/releases/download/v${version}/Hoppscotch_mac_aarch64.dmg"; hash = "sha256-litOYRsUOx6VpkA1LPx7aGGagqIVL9fgNsYoP5n/2mo="; hash = "sha256-Tc6lQbMZHX4Wl0R3fGClRr27fFTrYTxMtAkSPCw8mrw="; }; x86_64-darwin = { url = "https://github.com/hoppscotch/releases/releases/download/v${version}/Hoppscotch_mac_x64.dmg"; hash = "sha256-UG89Fv9J8SnzPVoIO16LOprxPmZuu/zyox1b+jn+eNw="; hash = "sha256-c3UHntrLRoXfmz8LL3Xu8mjBtyf952/tYMFqbTyECR0="; }; x86_64-linux = { url = "https://github.com/hoppscotch/releases/releases/download/v${version}/Hoppscotch_linux_x64.AppImage"; hash = "sha256-110l1DTyvH2M0ex1r35Q+55NiJ8nYum1KdWQXDvAdxo="; hash = "sha256-Aegc4kiLPtY+hlQtfYR3uztqs8Gj9fbUcAZ1XB8i1Pw="; }; }.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); } .${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); meta = with lib; { meta = { description = "Open source API development ecosystem"; longDescription = '' Hoppscotch is a lightweight, web-based API development suite. It was built Loading @@ -34,17 +39,26 @@ let ''; homepage = "https://hoppscotch.com"; downloadPage = "https://hoppscotch.com/downloads"; changelog = "https://hoppscotch.com/changelog"; license = licenses.mit; maintainers = with maintainers; [ DataHearth ]; changelog = "https://github.com/hoppscotch/hoppscotch/releases/tag/2024.8.1"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ DataHearth ]; mainProgram = "hoppscotch"; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; sourceProvenance = [ sourceTypes.binaryNativeCode ]; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; }; in if stdenv.isDarwin then stdenv.mkDerivation { inherit pname version src meta; if stdenv.isDarwin then stdenv.mkDerivation { inherit pname version src meta ; sourceRoot = "."; Loading @@ -59,8 +73,14 @@ if stdenv.isDarwin then stdenv.mkDerivation runHook postInstall ''; } else appimageTools.wrapType2 { inherit pname version src meta; else appimageTools.wrapType2 { inherit pname version src meta ; extraInstallCommands = let Loading