From 1b5e7c4984367f082491fe60a630ceb07b34b0f8 Mon Sep 17 00:00:00 2001 From: t4ccer Date: Wed, 27 Dec 2023 07:55:15 -0700 Subject: [PATCH] python3Packages.smoke-zephyr: init at 2.0.1 --- .../python-modules/smoke-zephyr/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/smoke-zephyr/default.nix diff --git a/pkgs/development/python-modules/smoke-zephyr/default.nix b/pkgs/development/python-modules/smoke-zephyr/default.nix new file mode 100644 index 0000000000000..f4633278c82c6 --- /dev/null +++ b/pkgs/development/python-modules/smoke-zephyr/default.nix @@ -0,0 +1,28 @@ +{ buildPythonPackage +, fetchFromGitHub +, pythonOlder +, lib +}: + +buildPythonPackage rec { + pname = "smoke-zephyr"; + version = "2.0.1"; + + src = fetchFromGitHub { + owner = "zeroSteiner"; + repo = "smoke-zephyr"; + rev = "v${version}"; + hash = "sha256-XZj8sxEWYv5z1x7LKb0T3L7MWSZbWr7lAIyjWekN+WY="; + }; + + disabled = pythonOlder "3.7"; + + pythonImportsCheck = [ "smoke_zephyr" ]; + + meta = with lib; { + homepage = "https://github.com/zeroSteiner/smoke-zephyr"; + description = "A collection of miscellaneous Python utilities"; + license = licenses.bsd3; + maintainers = with maintainers; [ t4ccer ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a41f52824d612..69939f010cd8a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13280,6 +13280,8 @@ self: super: with self; { smmap = callPackage ../development/python-modules/smmap { }; + smoke-zephyr = callPackage ../development/python-modules/smoke-zephyr { }; + smpplib = callPackage ../development/python-modules/smpplib { }; smpp_pdu = callPackage ../development/python-modules/smpp.pdu { };