···11+{ stdenv, fetchurl, pkgconfig, libevent, file, qrencode }:
22+33+let
44+ version = "0.2.5";
55+in stdenv.mkDerivation {
66+ name = "pshs-${version}";
77+88+ src = fetchurl {
99+ url = "https://www.bitbucket.org/mgorny/pshs/downloads/pshs-${version}.tar.bz2";
1010+ sha256 = "1lbybww9b74a9ssrii15w6qby0d66j367kara7kmfhakpv8jsvyh";
1111+ };
1212+1313+ buildInputs = [ pkgconfig libevent file qrencode ];
1414+1515+ # TODO: enable ssl once dependencies
1616+ # (libssl libcrypto libevent >= 2.1 libevent_openssl) can be met
1717+ configureFlags = "--disable-ssl";
1818+1919+ meta = {
2020+ description = "Pretty small HTTP server - a command-line tool to share files";
2121+ homepage = "https://bitbucket.org/mgorny/pshs/";
2222+ license = stdenv.lib.licenses.bsd3;
2323+ maintainers = [ stdenv.lib.maintainers.eduarrrd ];
2424+ };
2525+}
+2
pkgs/top-level/all-packages.nix
···7837783778387838 postfix = postfix211;
7839783978407840+ pshs = callPackage ../servers/http/pshs { };
78417841+78407842 pulseaudio = callPackage ../servers/pulseaudio {
78417843 gconf = gnome.GConf;
78427844 # The following are disabled in the default build, because if this