1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 netbox,
7 python,
8}:
9
10buildPythonPackage rec {
11 pname = "netbox-contextmenus";
12 version = "1.4.9";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "PieterL75";
17 repo = "netbox_contextmenus";
18 tag = "v${version}";
19 hash = "sha256-/y1t33nXaOes8pswhJhoQzChpJ5tenhMrTOdTTlSTkk=";
20 };
21
22 build-system = [ setuptools ];
23
24 # pythonImportsCheck fails due to improperly configured django app
25
26 meta = {
27 description = "Netbox plugin to add context buttons to the links, making navigating less clicky";
28 homepage = "https://github.com/PieterL75/netbox_contextmenus/";
29 changelog = "https://github.com/PieterL75/netbox_contextmenus/releases/tag/${src.tag}";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ felbinger ];
32 };
33}