continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
27 lines
752 B
Nix
27 lines
752 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libevent, file, qrencode, miniupnpc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pshs";
|
|
version = "0.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mgorny";
|
|
repo = "pshs";
|
|
rev = "v${version}";
|
|
sha256 = "1j8j4r0vsmp6226q6jdgf9bzhx3qk7vdliwaw7f8kcsrkndkg6p4";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
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 = lib.licenses.bsd3;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|