mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
python3.pkgs.smpp_pdu: init at unstable-2022-09-02
This commit is contained in:
parent
51ff54b5cc
commit
ba1d1a863b
41
pkgs/development/python-modules/smpp.pdu/default.nix
Normal file
41
pkgs/development/python-modules/smpp.pdu/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "smpp.pdu";
|
||||
version = "unstable-2022-09-02";
|
||||
format = "pyproject";
|
||||
|
||||
# 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" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for parsing Protocol Data Units (PDUs) in SMPP protocol";
|
||||
homepage = "https://github.com/hologram-io/smpp.pdu";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ flokli janik ];
|
||||
};
|
||||
}
|
@ -11806,6 +11806,8 @@ self: super: with self; {
|
||||
|
||||
smpplib = callPackage ../development/python-modules/smpplib { };
|
||||
|
||||
smpp_pdu = callPackage ../development/python-modules/smpp.pdu { };
|
||||
|
||||
snack = toPythonModule (pkgs.newt.override {
|
||||
inherit (self) python;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user