about summary refs log tree commit diff
path: root/pkgs/development/python-modules/miniupnpc/default.nix
blob: 04d8a08bf1c3d46d9d23fca3816fd7e89351eb66 (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
30
31
{
  stdenv,
  lib,
  buildPythonPackage,
  fetchPypi,
  cctools,
  which,
}:

buildPythonPackage rec {
  pname = "miniupnpc";
  version = "2.2.8";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-KwpNVl+tZTZHHZKW9p3a/S0nZJW6lZftjBK9ECkRUMo=";
  };

  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
    cctools
    which
  ];

  meta = with lib; {
    description = "miniUPnP client";
    homepage = "http://miniupnp.free.fr/";
    license = licenses.mit;
    maintainers = with maintainers; [ peterhoeg ];
  };
}