1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 colcon,
6 notify2,
7 pytestCheckHook,
8 scspell,
9 setuptools,
10 writableTmpDirAsHomeHook,
11}:
12
13buildPythonPackage rec {
14 pname = "colcon-notification";
15 version = "0.3.0";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "colcon";
20 repo = "colcon-notification";
21 tag = version;
22 hash = "sha256-78LruNk3KlHFgwujSbnbkjC24IN6jGnfRN+qdjvZh+k=";
23 };
24 build-system = [ setuptools ];
25 dependencies = [
26 colcon
27 notify2
28 ];
29
30 nativeCheckInputs = [
31 pytestCheckHook
32 scspell
33 writableTmpDirAsHomeHook
34 ];
35
36 pythonImportsCheck = [
37 "colcon_notification"
38 ];
39
40 disabledTestPaths = [
41 # Linting/formatting tests are not relevant and would require extra dependencies
42 "test/test_flake8.py"
43 ];
44
45 meta = {
46 description = "Extension for colcon-core to provide status notifications";
47 homepage = "https://github.com/colcon/colcon-notification";
48 license = lib.licenses.asl20;
49 maintainers = with lib.maintainers; [ guelakais ];
50 };
51}