python3Packages.python-apt: init at 2.7.6
This commit is contained in:
parent
9884c918e7
commit
ac694ae628
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
lib,
|
||||
apt,
|
||||
buildPythonPackage,
|
||||
fetchgit,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apt";
|
||||
version = "2.7.6";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.launchpad.net/python-apt";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-1jTe8ncMKV78+cfSZ6p6qdjxs0plZLB4VwVtPLtDlAc=";
|
||||
};
|
||||
|
||||
buildInputs = [ apt.dev ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
# Ensure the version is set properly without trying to invoke
|
||||
# dpkg-parsechangelog
|
||||
env.DEBVER = "${version}";
|
||||
|
||||
pythonImportsCheck = [ "apt_pkg" ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for APT";
|
||||
homepage = "https://launchpad.net/python-apt";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ jnsgruk ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -12184,6 +12184,8 @@ self: super: with self; {
|
|||
|
||||
python3-openid = callPackage ../development/python-modules/python3-openid { };
|
||||
|
||||
python-apt = callPackage ../development/python-modules/python-apt { };
|
||||
|
||||
python-arango = callPackage ../development/python-modules/python-arango { };
|
||||
|
||||
python-awair = callPackage ../development/python-modules/python-awair { };
|
||||
|
|
Loading…
Reference in New Issue