2022-09-22 12:36:57 +00:00
|
|
|
{ stdenv, lib, buildPythonPackage, fetchPypi, cctools, which }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "miniupnpc";
|
|
|
|
version = "2.0.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0ca94zz7sr2x57j218aypxqcwkr23n8js30f3yrvvqbg929nr93y";
|
|
|
|
};
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
nativeBuildInputs = lib.optionals stdenv.isDarwin [ cctools which ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "miniUPnP client";
|
|
|
|
homepage = "http://miniupnp.free.fr/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|