Skip to content

Commit

Permalink
naiveproxy-bin: 128.0.6613.40-1 -> 130.0.6723.40-5
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Nov 10, 2024
1 parent 0bc56e1 commit c7bd34c
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions pkgs/by-name/naiveproxy-bin/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
{ stdenv
, fetchurl
, autoPatchelfHook
, lib
, ...
{
stdenv,
fetchurl,
autoPatchelfHook,
lib,
...
}:
stdenv.mkDerivation rec {
pname = "naiveproxy";
version = "128.0.6613.40-1";
version = "130.0.6723.40-5";
preferLocalBuild = true;

src = fetchurl {
aarch64-linux = {
url = "https://github.com/klzgrad/naiveproxy/releases/download/v${version}/naiveproxy-v${version}-linux-arm64.tar.xz";
hash = "sha256-xs2VH5DWR0Q0JphFNL/dthaWk6gnHY5Iw0TDEDyA3LY=";
};
x86_64-linux = {
url = "https://github.com/klzgrad/naiveproxy/releases/download/v${version}/naiveproxy-v${version}-linux-x64.tar.xz";
hash = "sha256-wvORRJ3fepQpjX35Ks3U/8jBJhSqsGLyUDauzClUmYU=";
};
}.${stdenv.system} or (throw "naiveproxy-bin: ${stdenv.system} is unsupported.");
src =
fetchurl
{
aarch64-linux = {
url = "https://github.com/klzgrad/naiveproxy/releases/download/v${version}/naiveproxy-v${version}-linux-arm64.tar.xz";
hash = "sha256-4ajrs0bThy4tIoVGBH0bsjKzlAfpIyz/Cg9sGIRxZNo=";
};
x86_64-linux = {
url = "https://github.com/klzgrad/naiveproxy/releases/download/v${version}/naiveproxy-v${version}-linux-x64.tar.xz";
hash = "sha256-cAQL0/fwhYrO7lbiKsLlpvCQRY63NFPPSUCPKeM+D4o=";
};
}
.${stdenv.system} or (throw "naiveproxy-bin: ${stdenv.system} is unsupported.");

nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ stdenv.cc.cc.libgcc ];
Expand All @@ -31,7 +35,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/share/doc/naiveproxy
install -Dm644 USAGE.txt $out/share/doc/naiveproxy/USAGE.txt
mkdir -p $out/share/licenses/naiveproxy
install -Dm644 LICENSE $out/share/licenses/naiveproxy/LICENSE
Expand All @@ -41,7 +45,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Make a fortune quietly";
homepage = "https://github.com/klzgrad/naiveproxy";
downloadPage = "https://github.com/klzgrad/naiveproxy/releases";
changelog = "https://github.com/klzgrad/naiveproxy/releases/tag/v${version}";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.bsd3;
Expand Down

0 comments on commit c7bd34c

Please sign in to comment.