diff options
Diffstat (limited to 'pkgs/by-name/li/litterbox/package.nix')
-rw-r--r-- | pkgs/by-name/li/litterbox/package.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/by-name/li/litterbox/package.nix b/pkgs/by-name/li/litterbox/package.nix new file mode 100644 index 000000000000..dcf6a3d0d125 --- /dev/null +++ b/pkgs/by-name/li/litterbox/package.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, libressl, fetchzip, pkg-config, sqlite }: + +stdenv.mkDerivation rec { + pname = "litterbox"; + version = "1.9"; + + src = fetchzip { + url = "https://git.causal.agency/litterbox/snapshot/litterbox-${version}.tar.gz"; + hash = "sha256-w4qW7J5CKm+hXHsNNbl9roBslHD14JOe0Nj5WntETqM="; + }; + + buildInputs = [ libressl sqlite ]; + + nativeBuildInputs = [ pkg-config ]; + + strictDeps = true; + + buildFlags = [ "all" ]; + + meta = with lib; { + description = "Simple TLS-only IRC logger"; + homepage = "https://code.causal.agency/june/litterbox"; + license = licenses.gpl3Plus; + mainProgram = "litterbox"; + maintainers = with maintainers; [ ajwhouse ]; + platforms = platforms.linux; + }; +} |