python3.pkgs.apt-repo: init at 0-unstable-2023-09-27 (#332292)

Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
nicoo
2024-12-12 18:17:45 +00:00
committed by GitHub
co-authored by OTABI Tomoya
parent 793d539b28
commit 380d334e82
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildPythonPackage,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "apt-repo";
version = "0.5-unstable-2023-09-27";
pyproject = true;
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "brennerm";
repo = "python-apt-repo";
rev = "0287c59317f9ec8e8edbf7c228665a7010f758e7";
hash = "sha256-9PA6AIeMXpaDc9g+rYpzwhf4ts3Xb31rvAUgDebTG4A=";
};
passthru.updateScript = unstableGitUpdater { };
build-system = [ setuptools ];
nativeBuildInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "apt_repo" ];
meta = with lib; {
description = "Python library to query APT repositories";
homepage = "https://github.com/brennerm/python-apt-repo";
license = licenses.mit;
maintainers = with maintainers; [ nicoo ];
};
}
+2
View File
@@ -744,6 +744,8 @@ self: super: with self; {
apsw = callPackage ../development/python-modules/apsw { };
apt-repo = callPackage ../development/python-modules/apt-repo { };
apycula = callPackage ../development/python-modules/apycula { };
aqipy-atmotech = callPackage ../development/python-modules/aqipy-atmotech { };