From 88e4d5754e2463117fc72333b3c09d7d310d7b7b Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 20 Sep 2025 22:09:05 -0400 Subject: [PATCH] python3Packages.smpp-pdu: standardize version name, add updateScript Prevents spurious robot PRs. No, this isn't a downgrade, just a timezone thing. --- pkgs/development/python-modules/smpp-pdu/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/smpp-pdu/default.nix b/pkgs/development/python-modules/smpp-pdu/default.nix index a515b5371627..1da871ed0da5 100644 --- a/pkgs/development/python-modules/smpp-pdu/default.nix +++ b/pkgs/development/python-modules/smpp-pdu/default.nix @@ -2,13 +2,14 @@ lib, buildPythonPackage, fetchFromGitHub, + nix-update-script, pytestCheckHook, setuptools, }: buildPythonPackage { pname = "smpp-pdu"; - version = "unstable-2022-09-02"; + version = "0.3-unstable-2022-09-01"; format = "pyproject"; # Upstream was once mozes/smpp.pdu, but it's dead and Python 2 only. @@ -25,6 +26,10 @@ buildPythonPackage { pythonImportsCheck = [ "smpp.pdu" ]; + passthru.updateScript = nix-update-script { + extraArgs = [ "--version=branch" ]; + }; + meta = with lib; { description = "Library for parsing Protocol Data Units (PDUs) in SMPP protocol"; homepage = "https://github.com/hologram-io/smpp.pdu";