summary refs log tree commit diff
path: root/pkgs/servers/althttpd
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-06-08 23:29:10 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-06-09 00:00:36 +0700
commit8327060fd7791a7e764a46b0e108c05ae46ac364 (patch)
treef979d7eb1d212273089800e24859cf5bee187315 /pkgs/servers/althttpd
parent12e7af1cfb3ab5bbbbd1d213a0b17c11ce9d3f2f (diff)
downloadnixpkgs-8327060fd7791a7e764a46b0e108c05ae46ac364.tar
nixpkgs-8327060fd7791a7e764a46b0e108c05ae46ac364.tar.gz
nixpkgs-8327060fd7791a7e764a46b0e108c05ae46ac364.tar.bz2
nixpkgs-8327060fd7791a7e764a46b0e108c05ae46ac364.tar.lz
nixpkgs-8327060fd7791a7e764a46b0e108c05ae46ac364.tar.xz
nixpkgs-8327060fd7791a7e764a46b0e108c05ae46ac364.tar.zst
nixpkgs-8327060fd7791a7e764a46b0e108c05ae46ac364.zip
althttpd: init at unstable-2021-05-07
Diffstat (limited to 'pkgs/servers/althttpd')
-rw-r--r--pkgs/servers/althttpd/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/servers/althttpd/default.nix b/pkgs/servers/althttpd/default.nix
new file mode 100644
index 00000000000..dfb073aa11f
--- /dev/null
+++ b/pkgs/servers/althttpd/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, fetchfossil }:
+
+stdenv.mkDerivation rec {
+  pname = "althttpd";
+  version = "unstable-2021-05-07";
+
+  src = fetchfossil {
+    url = "https://sqlite.org/althttpd/";
+    rev = "2c5e3f9f7051a578";
+    sha256 = "sha256-+RuogtQAc+zjCWTOiOunu1pXf3LxfdWYQX+24ysJ7uY=";
+  };
+
+  installPhase = ''
+    install -Dm755 -t $out/bin althttpd
+  '';
+
+  meta = with lib; {
+    description = "The Althttpd webserver";
+    homepage = "https://sqlite.org/althttpd/";
+    license = licenses.publicDomain;
+    maintainers = with maintainers; [ siraben ];
+    platforms = platforms.all;
+  };
+}