mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +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,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "1.42";
|
version = "1.43";
|
||||||
in
|
in
|
||||||
python3.pkgs.buildPythonApplication {
|
python3.pkgs.buildPythonApplication {
|
||||||
pname = "dput-ng";
|
pname = "dput-ng";
|
||||||
|
@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication {
|
||||||
owner = "debian";
|
owner = "debian";
|
||||||
repo = "dput-ng";
|
repo = "dput-ng";
|
||||||
tag = "debian/${version}";
|
tag = "debian/${version}";
|
||||||
hash = "sha256-v1Q2vPQcghHZXSxnbjZ/0wFVNj1ApKFduUkEhBea1hI=";
|
hash = "sha256-zrH4h4C4y3oTiOXsidFv/rIJNzCdV2lqzNEg0SOkX4w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = with python3.pkgs; [
|
build-system = with python3.pkgs; [
|
||||||
|
@ -46,7 +46,13 @@ python3.pkgs.buildPythonApplication {
|
||||||
# Requires running dpkg
|
# Requires running dpkg
|
||||||
disabledTestPaths = [ "tests/test_upload.py" ];
|
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 = {
|
meta = {
|
||||||
description = "Next-generation Debian package upload tool";
|
description = "Next-generation Debian package upload tool";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue