mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
dput-ng: 1.42 -> 1.43
This commit is contained in:
parent
69ea43926c
commit
d63f498cff
1 changed files with 9 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue