python312Packages.python-debian: 0.1.49 -> 0.1.52

This commit is contained in:
Nick Cao
2025-03-01 14:58:10 -05:00
parent 3f22849c95
commit 86bd26b32b
@@ -2,34 +2,48 @@
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
chardet,
fetchFromGitLab,
setuptools,
setuptools-scm,
charset-normalizer,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "python-debian";
version = "0.1.49";
format = "setuptools";
version = "0.1.52";
pyproject = true;
disabled = pythonOlder "3.5";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-jPZ3ow28tL56mVNsF+ETCKgnpNIgKNxZpn9sbdPw9Yw=";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "python-debian-team";
repo = "python-debian";
tag = version;
hash = "sha256-+c+AiUCnpasOLbY6K4cuKUb6Ojwn0py78fL5W24WRwU=";
};
propagatedBuildInputs = [ chardet ];
build-system = [
setuptools
setuptools-scm
];
# No tests in archive
doCheck = false;
dependencies = [
charset-normalizer
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "debian" ];
meta = with lib; {
meta = {
description = "Debian package related modules";
homepage = "https://salsa.debian.org/python-debian-team/python-debian";
changelog = "https://salsa.debian.org/python-debian-team/python-debian/-/blob/master/debian/changelog";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ nickcao ];
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ nickcao ];
};
}