2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "upnpy";
|
|
|
|
version = "1.1.8";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|