python3Packages.systemd-python: rename from systemd

The former is what the package is called on PyPI.
This commit is contained in:
Robert Schütz
2025-11-09 12:55:00 -08:00
parent 40796a06a3
commit 2e8b033772
13 changed files with 23 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
pythonPath =
with python3.pkgs;
lib.optionals stdenv.hostPlatform.isLinux [
systemd
systemd-python
pyinotify
# https://github.com/fail2ban/fail2ban/issues/3787, remove it in the next release

View File

@@ -24,7 +24,7 @@ python3Packages.buildPythonApplication rec {
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [ systemd ];
dependencies = with python3Packages; [ systemd-python ];
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];

View File

@@ -108,7 +108,7 @@ python3Packages.buildPythonApplication rec {
authlib
];
systemd = [
systemd
systemd-python
];
url-preview = [
lxml

View File

@@ -7,7 +7,7 @@
"postgres"
"url-preview"
]
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform matrix-synapse-unwrapped.python.pkgs.systemd) "systemd",
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform matrix-synapse-unwrapped.python.pkgs.systemd-python) "systemd",
plugins ? [ ],
}:

View File

@@ -103,7 +103,7 @@ python3.pkgs.buildPythonApplication rec {
pyatspi
pycairo
pygobject3
systemd
systemd-python
];
propagatedUserEnvPkgs = [ dconf ];

View File

@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
pythonPath = python3.withPackages (ps: [
ps.dbus-python
ps.pygobject3
ps.systemd
ps.systemd-python
]);
nativeBuildInputs = [

View File

@@ -48,7 +48,7 @@ pypkgs.buildPythonApplication rec {
sourceRoot = "${src.name}/py-kms";
propagatedBuildInputs = with pypkgs; [
systemd
systemd-python
pytz
tzlocal
dnspython

View File

@@ -15,7 +15,7 @@
python,
rpm,
sphinx,
systemd,
systemd-python,
}:
let
@@ -68,7 +68,7 @@ buildPythonPackage rec {
libcomps
libdnf
rpm
systemd
systemd-python
];
cmakeFlags = [

View File

@@ -29,7 +29,7 @@
pytest-postgresql,
pytz,
requests-mock,
systemd,
systemd-python,
types-deprecated,
types-psycopg2,
types-pytz,
@@ -90,7 +90,7 @@ buildPythonPackage rec {
pytest-postgresql
pytz
requests-mock
systemd
systemd-python
types-deprecated
types-psycopg2
types-pytz

View File

@@ -31,7 +31,7 @@
pytest-postgresql,
requests-mock,
requests-toolbelt,
systemd,
systemd-python,
types-python-dateutil,
types-pyyaml,
types-requests,
@@ -96,7 +96,7 @@ buildPythonPackage rec {
pytest-postgresql
requests-mock
requests-toolbelt
systemd
systemd-python
types-python-dateutil
types-pyyaml
types-requests

View File

@@ -7,20 +7,23 @@
pkg-config,
pytest,
python,
setuptools,
}:
buildPythonPackage rec {
pname = "systemd";
pname = "systemd-python";
version = "235";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "systemd";
repo = "python-systemd";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-8p4m4iM/z4o6PHRQIpuSXb64tPTWGlujEYCDVLiIt2o=";
};
build-system = [ setuptools ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ systemd ];

View File

@@ -444,6 +444,7 @@ mapAliases {
subunit2sql = throw "subunit2sql has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-04
supervise_api = throw "'supervise_api' has been renamed to/replaced by 'supervise-api'"; # Converted to throw 2025-10-29
synologydsm-api = throw "'synologydsm-api' has been renamed to/replaced by 'py-synologydsm-api'"; # Converted to throw 2025-10-29
systemd = throw "systemd was removed because it was misnamed; use systemd-python instead"; # added 2025-11-09
sysv_ipc = throw "'sysv_ipc' has been renamed to/replaced by 'sysv-ipc'"; # Converted to throw 2025-10-29
tensorflow-bin_2 = throw "'tensorflow-bin_2' has been renamed to/replaced by 'tensorflow-bin'"; # Converted to throw 2025-10-29
tensorflow-build_2 = throw "'tensorflow-build_2' has been renamed to/replaced by 'tensorflow-build'"; # Converted to throw 2025-10-29

View File

@@ -18136,7 +18136,9 @@ self: super: with self; {
systembridgemodels = callPackage ../development/python-modules/systembridgemodels { };
systemd = callPackage ../development/python-modules/systemd { inherit (pkgs) systemd; };
systemd-python = callPackage ../development/python-modules/systemd-python {
inherit (pkgs) systemd;
};
systemdunitparser = callPackage ../development/python-modules/systemdunitparser { };