python3.apt: init at 2.8.0

This commit is contained in:
Maciej Krüger
2024-08-24 16:53:09 +02:00
parent d92721650a
commit ec0b212f62
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
setuptools,
wheel,
fetchFromGitLab,
apt,
dpkg,
}:
buildPythonPackage rec {
pname = "apt";
version = "2.8.0";
pyproject = true;
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "apt-team";
repo = "python-apt";
rev = version;
hash = "sha256-7l7rgyJ28iQuL6ShF/KYwL/kAXpLPTqnUIavVxNF+wU=";
};
build-system = [
setuptools
wheel
];
buildInputs = [
apt
];
nativeBuildInputs = [
# dpkg-parsechangelog for setup.py
dpkg
];
meta = {
description = "apt module for python";
homepage = "https://salsa.debian.org/apt-team/python-apt.git";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ mkg20001 ];
};
}
+4
View File
@@ -719,6 +719,10 @@ self: super: with self; {
apsw = callPackage ../development/python-modules/apsw { };
apt = callPackage ../development/python-modules/apt {
apt = super.pkgs.apt;
};
apycula = callPackage ../development/python-modules/apycula { };
aqipy-atmotech = callPackage ../development/python-modules/aqipy-atmotech { };