blob: 3b7f3b08a6d78809c3cab983a5f87bcde898962d (
plain)
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
32
33
34
35
36
|
{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
setuptools,
cctools,
which,
}:
buildPythonPackage rec {
pname = "miniupnpc";
version = "2.3.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7l6Vffgo0vocw2TmDFg9EEOREIiPCGyRggcclqN0sq0=";
};
build-system = [
setuptools
];
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
cctools
which
];
meta = {
description = "MiniUPnP client";
homepage = "http://miniupnp.free.fr/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ peterhoeg ];
};
}
|