blob: 19d6f3a74f51ef4b92636c8dc429a09ff13da1c5 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
click,
fetchFromGitHub,
flit-core,
flit-scm,
pygments,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ssdp";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "codingjoe";
repo = "ssdp";
tag = version;
hash = "sha256-HsU67vsJvoVyOy2QEq8leYcjl1EVdQ039jN1QyL0XgU=";
};
build-system = [
flit-core
flit-scm
];
optional-dependencies = {
cli = [
click
pygments
];
pygments = [ pygments ];
};
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "ssdp" ];
meta = {
description = "Python asyncio library for Simple Service Discovery Protocol (SSDP)";
homepage = "https://github.com/codingjoe/ssdp";
changelog = "https://github.com/codingjoe/ssdp/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "ssdp";
};
}
|