about summary refs log tree commit diff
path: root/pkgs/development/python-modules/upnpy/default.nix
blob: b6677afbd2b2f6515b3c5d4c8b1a2636b7758833 (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
28
29
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "upnpy";
  version = "1.1.8";
  format = "setuptools";

  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 ];
  };
}