1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4}:
5
6buildPythonPackage rec {
7 pname = "upnpy";
8 version = "1.1.8";
9
10 src = fetchFromGitHub {
11 owner = "5kyc0d3r";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "17rqcmmwsl0m4722b1cr74f80kqwq7cgxsy7lq9c88zf6srcgjsf";
15 };
16
17 # Project has not published tests yet
18 doCheck = false;
19 pythonImportsCheck = [ "upnpy" ];
20
21 meta = with lib; {
22 description = "UPnP client library for Python";
23 homepage = "https://github.com/5kyc0d3r/upnpy";
24 license = with licenses; [ mit ];
25 maintainers = with maintainers; [ fab ];
26 };
27}