1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/servers/http/pshs/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

28 lines
818 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libevent, file, qrencode, miniupnpc }:
stdenv.mkDerivation rec {
name = "pshs-${version}";
version = "0.3.1";
src = fetchFromGitHub {
owner = "mgorny";
repo = "pshs";
rev = "v${version}";
sha256 = "18mhxdjlyr21gghzkrrlp0imicb6bqf741p0a21c2rkvs4bv8c1w";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libevent file qrencode miniupnpc ];
# SSL requires libevent at 2.1 with ssl support
configureFlags = "--disable-ssl";
meta = {
description = "Pretty small HTTP server - a command-line tool to share files";
homepage = https://github.com/mgorny/pshs;
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.eduarrrd ];
platforms = stdenv.lib.platforms.linux;
};
}