diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/althttpd/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/althttpd/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/althttpd/default.nix b/nixpkgs/pkgs/servers/althttpd/default.nix new file mode 100644 index 000000000000..dfb073aa11fb --- /dev/null +++ b/nixpkgs/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; + }; +} |