python3Packages.smpp-pdu: standardize version name, add updateScript (#444837)

This commit is contained in:
Florian Klink
2025-09-22 07:13:38 +00:00
committed by GitHub
@@ -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";