From 6245356237a35843c71f9caeb9fd80b5fd24f75e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 15 Jan 2021 11:36:39 +0100 Subject: [PATCH] python3Packages.upnpy: init at 1.1.8 --- .../python-modules/upnpy/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/upnpy/default.nix diff --git a/pkgs/development/python-modules/upnpy/default.nix b/pkgs/development/python-modules/upnpy/default.nix new file mode 100644 index 000000000000..d64ff4b875c8 --- /dev/null +++ b/pkgs/development/python-modules/upnpy/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +}: + +buildPythonPackage rec { + pname = "upnpy"; + version = "1.1.8"; + + src = fetchFromGitHub { + owner = "5kyc0d3r"; + repo = pname; + rev = "v${version}"; + sha256 = "17rqcmmwsl0m4722b1cr74f80kqwq7cgxsy7lq9c88zf6srcgjsf"; + }; + + # Project has not published tests yet + doCheck = false; + pythonImportsCheck = [ "upnpy" ]; + + meta = with lib; { + description = "UPnP client library for Python"; + homepage = "https://github.com/5kyc0d3r/upnpy"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f902e97dbc39..cdfeb41ff50b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7867,6 +7867,8 @@ in { update-dotdee = callPackage ../development/python-modules/update-dotdee { }; + upnpy = callPackage ../development/python-modules/upnpy { }; + uproot3 = callPackage ../development/python-modules/uproot3 { }; uproot3-methods = callPackage ../development/python-modules/uproot3-methods { };