dput-ng: 1.42 -> 1.43 (#408207)

This commit is contained in:
Austin Horstman
2025-05-18 22:09:34 -05:00
committed by GitHub
+9 -3
View File
@@ -5,7 +5,7 @@
nix-update-script,
}:
let
version = "1.42";
version = "1.43";
in
python3.pkgs.buildPythonApplication {
pname = "dput-ng";
@@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication {
owner = "debian";
repo = "dput-ng";
tag = "debian/${version}";
hash = "sha256-v1Q2vPQcghHZXSxnbjZ/0wFVNj1ApKFduUkEhBea1hI=";
hash = "sha256-zrH4h4C4y3oTiOXsidFv/rIJNzCdV2lqzNEg0SOkX4w=";
};
build-system = with python3.pkgs; [
@@ -46,7 +46,13 @@ python3.pkgs.buildPythonApplication {
# Requires running dpkg
disabledTestPaths = [ "tests/test_upload.py" ];
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script {
# Debian's tagging scheme is the bane of my existence.
# Essentially: all tags from 1.40 onwards start with `debian/`,
# then the version, and then an optional suffix (usually reserved for backports).
# We want to ignore the backport versions, and strip the `debian/` prefix.
extraArgs = [ "--version-regex=(?:debian\/)?(\d+(?:\.\d+)*)(?:[_\+].*)?" ];
};
meta = {
description = "Next-generation Debian package upload tool";