blob: ff8db32084db884c94d0300a09820a711154c132 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
pytestCheckHook,
setuptools,
}:
buildPythonPackage {
pname = "smpp-pdu";
version = "0.3-unstable-2022-09-01";
pyproject = true;
# Upstream was once mozes/smpp.pdu, but it's dead and Python 2 only.
src = fetchFromGitHub {
owner = "hologram-io";
repo = "smpp.pdu";
rev = "20acc840ded958898eeb35ae9a18df9b29bdaaac";
hash = "sha256-/icVexc2S8sbJqn4ioeIhYxyDFIENuCfsFhl0uAHa9g=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "smpp.pdu" ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Library for parsing Protocol Data Units (PDUs) in SMPP protocol";
homepage = "https://github.com/hologram-io/smpp.pdu";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ flokli ];
};
}
|