aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/pounce/default.nix
blob: 8609648378a7407636f98f6c4fc0dd56e0cf3fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, libressl, fetchzip, fetchpatch }:

stdenv.mkDerivation rec {
  pname = "pounce";
  version = "1.1";

  src = fetchzip {
    url = "https://git.causal.agency/pounce/snapshot/pounce-${version}.tar.gz";
    sha256 = "07iyh6ikrlf7y57k462jcr00db6aijk9b2s7n7l7i49hk7kmm6wq";
  };

  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";
    description = "Simple multi-client TLS-only IRC bouncer";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ edef ];
  };
}