python3.apt: init at 2.8.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user