about summary refs log tree commit diff
path: root/pkgs/development/python-modules/miniupnpc/default.nix
blob: ec6bcbc7d97032aaa5d757788ede8db9c76662a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, lib, buildPythonPackage, fetchPypi, cctools, which }:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "0ca94zz7sr2x57j218aypxqcwkr23n8js30f3yrvvqbg929nr93y";
  };

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

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