nixpkgs/pkgs/development/python-modules/miniupnpc/default.nix
2022-09-18 15:40:07 +10:00

20 lines
516 B
Nix

{ stdenv, lib, buildPythonPackage, fetchPypi, cctools, which }:
buildPythonPackage rec {
pname = "miniupnpc";
version = "2.0.2";
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 ];
};
}