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.
25 lines
624 B
Nix
25 lines
624 B
Nix
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, systemd, pkg-config }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "systemd";
|
|
version = "234";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "systemd";
|
|
repo = "python-systemd";
|
|
rev = "v${version}";
|
|
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
|
};
|
|
|
|
buildInputs = [ systemd ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python module for native access to the systemd facilities";
|
|
homepage = "http://www.freedesktop.org/software/systemd/python-systemd/";
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|