You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
utils.url = "github:numtide/flake-utils";
};
description = "A very basic flake";
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem(system: let
pkgs = import nixpkgs {
inherit system;
};
pname = "pounce";
version = "3.1";
in {
packages = {
default = pkgs.stdenv.mkDerivation {
inherit pname version;
src = pkgs.fetchzip {
url = "https://git.causal.agency/pounce/snapshot/pounce-${version}.tar.gz";
sha256 = "sha256-6PGiaU5sOwqO4V2PKJgIi3kI2jXsBOldEH51D7Sx9tg=";
};
buildInputs = with pkgs;
[ libressl libxcrypt curl sqlite ];
nativeBuildInputs = [ pkgs.pkg-config ];
configureFlags = [ "--enable-notify" "--enable-palaver" ];
buildFlags = [ "all" ];
makeFlags = [
"PREFIX=$(out)"
];
meta = with nixpkgs.lib; {
homepage = "https://code.causal.agency/june/pounce";
description = "Simple multi-client TLS-only IRC bouncer";
license = licenses.gpl3;
};
};
};
}) // {
};
}