1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/servers/http/webfs/default.nix
2015-11-16 17:29:40 +01:00

28 lines
721 B
Nix

{ stdenv, fetchurl, openssl, shared_mime_info }:
stdenv.mkDerivation rec {
name = "webfs-${version}";
version = "1.21";
src = fetchurl {
url = "https://www.kraxel.org/releases/webfs/${name}.tar.gz";
sha256 = "98c1cb93473df08e166e848e549f86402e94a2f727366925b1c54ab31064a62a";
};
patches = [ ./ls.c.patch ];
buildInputs = [ openssl ];
makeFlags = [
"mimefile=${shared_mime_info}/share/mime/globs"
"prefix=$(out)"
];
meta = with stdenv.lib; {
description = "HTTP server for purely static content";
homepage = http://linux.bytesex.org/misc/webfs.html;
license = licenses.gpl2;
platforms = platforms.all;
maintainers = with maintainers; [ zimbatm ];
};
}