mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
28 lines
594 B
Nix
28 lines
594 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|