mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
python3Packages.systemd-python: rename from systemd
The former is what the package is called on PyPI.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ python3Packages.buildPythonApplication rec {
|
||||
authlib
|
||||
];
|
||||
systemd = [
|
||||
systemd
|
||||
systemd-python
|
||||
];
|
||||
url-preview = [
|
||||
lxml
|
||||
|
||||
@@ -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 ? [ ],
|
||||
}:
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
pyatspi
|
||||
pycairo
|
||||
pygobject3
|
||||
systemd
|
||||
systemd-python
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [ dconf ];
|
||||
|
||||
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
|
||||
pythonPath = python3.withPackages (ps: [
|
||||
ps.dbus-python
|
||||
ps.pygobject3
|
||||
ps.systemd
|
||||
ps.systemd-python
|
||||
]);
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -48,7 +48,7 @@ pypkgs.buildPythonApplication rec {
|
||||
sourceRoot = "${src.name}/py-kms";
|
||||
|
||||
propagatedBuildInputs = with pypkgs; [
|
||||
systemd
|
||||
systemd-python
|
||||
pytz
|
||||
tzlocal
|
||||
dnspython
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
python,
|
||||
rpm,
|
||||
sphinx,
|
||||
systemd,
|
||||
systemd-python,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -68,7 +68,7 @@ buildPythonPackage rec {
|
||||
libcomps
|
||||
libdnf
|
||||
rpm
|
||||
systemd
|
||||
systemd-python
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ];
|
||||
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user