summary refs log tree commit diff
path: root/pkgs/development/python-modules/upnpy/default.nix
blob: d64ff4b875c8e42f73e5caad1a77260cc098b8a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 ];
  };
}