9bb3fccb5b
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.
26 lines
795 B
Nix
26 lines
795 B
Nix
{ lib, stdenv, buildPythonPackage, fetchurl
|
|
, libasyncns, pkg-config }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "libasyncns-python";
|
|
version = "0.7.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/libasyncns-python/trunk/${version}/+download/libasyncns-python-${version}.tar.bz2";
|
|
sha256 = "1q4l71b2h9q756x4pjynp6kczr2d8c1jvbdp982hf7xzv7w5gxqg";
|
|
};
|
|
|
|
patches = [ ./libasyncns-fix-res-consts.patch ];
|
|
|
|
buildInputs = [ libasyncns ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
doCheck = false; # requires network access
|
|
|
|
meta = with lib; {
|
|
description = "libasyncns-python is a python binding for the asynchronous name service query library";
|
|
license = licenses.lgpl21;
|
|
maintainers = [ maintainers.mic92 ];
|
|
homepage = "https://launchpad.net/libasyncns-python";
|
|
};
|
|
}
|