Unverified Commit 380d334e authored by nicoo's avatar nicoo Committed by GitHub
Browse files

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

parent 793d539b
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };