diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2022-09-08 14:29:44 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2022-10-31 09:24:02 +0100 |
commit | 9f50ee94a54a6b8d08dfc397fac3f4624a640e74 (patch) | |
tree | 75ac1aac14c66da2bf72aaa8754132a30392ccff /pkgs/servers/http | |
parent | afddc087d9d24eac691bb9875659d3bb4dc02cdd (diff) |
merecat: init at 2.31
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/merecat/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/servers/http/merecat/default.nix b/pkgs/servers/http/merecat/default.nix new file mode 100644 index 0000000000000..6c38939585411 --- /dev/null +++ b/pkgs/servers/http/merecat/default.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config +, libconfuse +, libxcrypt +}: + +stdenv.mkDerivation rec { + pname = "merecat"; + version = "2.31"; + + # Or, already reconf'd: ftp://ftp.troglobit.com/merecat/merecat-${version}.tar.xz + src = fetchFromGitHub { + owner = "troglobit"; + repo = "merecat"; + rev = "v${version}"; + hash = "sha256-oIzOXUnCFqd3HPyKp58r+enRRpaE7f9hqNITtxCCB7I="; + }; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + + buildInputs = [ + libconfuse + libxcrypt + ]; + + meta = with lib; { + description = "Small and made-easy HTTP/HTTPS server based on Jef Poskanzer's thttpd"; + homepage = "https://troglobit.com/projects/merecat/"; + license = licenses.bsd2; + maintainers = with maintainers; [ fgaz ]; + platforms = platforms.all; + # Strange header and/or linker errors + broken = stdenv.isDarwin; + }; +} |