git-buildpackage: setup passthru.updateScript + 0.9.37 -> 0.9.38 (#439092)

This commit is contained in:
Peder Bergebakken Sundt
2025-09-03 21:19:52 +02:00
committed by GitHub
+13 -5
View File
@@ -1,10 +1,11 @@
{
lib,
stdenv,
coreutils,
fetchFromGitHub,
nix-update-script,
python3Packages,
stdenv,
# nativeCheckInputs
debian-devscripts,
@@ -16,14 +17,14 @@
python3Packages.buildPythonApplication rec {
pname = "git-buildpackage";
version = "0.9.37";
version = "0.9.38";
pyproject = true;
src = fetchFromGitHub {
owner = "agx";
repo = "git-buildpackage";
tag = "debian/${version}";
hash = "sha256-0gfryd1GrVfL11u/IrtLSJAABRsTpFfPOGxWfVdYtgE=";
hash = "sha256-dZ/uJLcDPkpwIz+Y6WInJ4XlSJ5zzDY65li/xghsJTQ=";
fetchSubmodules = true;
};
@@ -39,6 +40,8 @@ python3Packages.buildPythonApplication rec {
dependencies = with python3Packages; [
python-dateutil
pyyaml
rpm
];
pythonImportsCheck = [
@@ -56,8 +59,6 @@ python3Packages.buildPythonApplication rec {
coverage
pytest-cov
pytestCheckHook
pyyaml
rpm
]);
disabledTests = [
@@ -77,6 +78,13 @@ python3Packages.buildPythonApplication rec {
"tests.doctests.test_GitRepository.test_create_noperm"
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"debian/(.*)"
];
};
meta = {
description = "Suite to help with maintaining Debian packages in Git repositories";
homepage = "https://honk.sigxcpu.org/piki/projects/git-buildpackage/";