nixpkgs/pkgs/tools/networking/srelay/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

28 lines
759 B
Nix

{ lib, stdenv, fetchurl, libxcrypt }:
stdenv.mkDerivation rec {
pname = "srelay";
version = "0.4.8";
src = fetchurl {
url = "mirror://sourceforge/project/socks-relay/socks-relay/srelay-${version}/srelay-${version}.tar.gz";
sha256 = "1sn6005aqyfvrlkm5445cyyaj6h6wfyskfncfmds55x34hfyxpvl";
};
patches = [ ./arm.patch ];
buildInputs = [ libxcrypt ];
installPhase = "install -D srelay $out/bin/srelay";
meta = {
description = "SOCKS proxy and relay";
homepage = "http://socks-relay.sourceforge.net/";
platforms = lib.platforms.unix;
license = lib.licenses.bsd3;
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.isLinux && stdenv.isAarch64;
mainProgram = "srelay";
};
}