Unverified Commit ec0b212f authored by Maciej Krüger's avatar Maciej Krüger
Browse files

python3.apt: init at 2.8.0

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