nixpkgs-suyu/pkgs/servers/pounce/default.nix

31 lines
737 B
Nix
Raw Normal View History

2019-11-27 20:54:48 +01:00
{ stdenv, libressl, fetchzip, fetchpatch }:
stdenv.mkDerivation rec {
pname = "pounce";
2020-02-11 21:04:58 +01:00
version = "1.1";
2019-11-27 20:54:48 +01:00
src = fetchzip {
2020-02-11 21:04:58 +01:00
url = "https://git.causal.agency/pounce/snapshot/pounce-${version}.tar.gz";
sha256 = "07iyh6ikrlf7y57k462jcr00db6aijk9b2s7n7l7i49hk7kmm6wq";
2019-11-27 20:54:48 +01:00
};
buildInputs = [ libressl ];
configurePhase = "ln -s Linux.mk config.mk";
buildFlags = [ "all" ];
makeFlags = [
"PREFIX=$(out)"
"LIBRESSL_BIN_PREFIX=${libressl}/bin"
];
meta = with stdenv.lib; {
homepage = "https://code.causal.agency/june/pounce";
2019-11-27 20:54:48 +01:00
description = "Simple multi-client TLS-only IRC bouncer";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ edef ];
};
}