HttpToolkit : Remove broken package.

This commit is contained in:
Dmitry Voronin 2024-06-24 02:35:03 +03:00
parent b53dae5730
commit 3e6c1da7e9
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,56 +0,0 @@
# Apple San Francisco and New York fonts.
# They are not available in Nixpkgs repo, so this script
# downloads the fonts from Apple website and adds them to Nix store.
{ lib, stdenv, fetchurl, pkgs }: stdenv.mkDerivation {
pname = "httptoolkit";
version = "1.15.0";
src = fetchurl {
url = "https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v1.15.0/HttpToolkit-linux-x64-1.15.0.zip";
hash = "sha256-wb4is5IX1/Sjea4tggFP48snAx7+Bp4ux+306xFBMtM=";
};
nativeBuildInputs = with pkgs; [
autoPatchelfHook
unzip
];
sourceRoot = ".";
buildInputs = with pkgs; [
alsa-lib
atk
cairo
cups
dbus
expat
glib
gtk3
libGL
libxkbcommon
mesa
nss
pango
playwright
xorg.libXcomposite
xorg.libXrandr
xorg.libxcb
];
preBuild = ''
addAutoPatchelfSearchPath .
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp -r * $out/bin
install -m755 -D httptoolkit $out/bin
runHook postInstall
'';
meta = with lib; {
homapage = "https://github.com/httptoolkit/httptoolkit-desktop";
platform = platforms.linux;
};
}