From 4b32a5d26155ce66b74930791acd38b221d3faaf Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 18 Nov 2021 00:25:06 +0300 Subject: [PATCH] quark: init at 2021-02-22 --- pkgs/servers/http/quark/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/servers/http/quark/default.nix diff --git a/pkgs/servers/http/quark/default.nix b/pkgs/servers/http/quark/default.nix new file mode 100644 index 000000000000..629e61b43397 --- /dev/null +++ b/pkgs/servers/http/quark/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchgit, patches ? null }: + +stdenv.mkDerivation { + pname = "quark"; + version = "unstable-2021-02-22"; + + src = fetchgit { + url = "git://git.suckless.org/quark"; + rev = "68b4f733b2755762e43df90f73db5a6ec8d14104"; + sha256 = "sha256-Jtu5zJfHd+6Oq572nVem5msMDCOjdqDNH4SQck8/O5A="; + }; + + inherit patches; + + makeFlags = [ "CC:=$(CC)" ]; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + description = "Extremely small and simple HTTP GET/HEAD-only web server for static content"; + homepage = "http://tools.suckless.org/quark"; + license = licenses.isc; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bb92dc9a69b1..4ec4f8e7c0dd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21035,6 +21035,8 @@ with pkgs; pshs = callPackage ../servers/http/pshs { }; + quark = callPackage ../servers/http/quark { }; + sympa = callPackage ../servers/mail/sympa { }; system-sendmail = lowPrio (callPackage ../servers/mail/system-sendmail { });