blob: f4c1cbc834de7b17319423a2729776163655daff (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
xlib,
typing-extensions,
}:
buildPythonPackage (finalAttrs: {
version = "0.2";
pname = "ewmhlib";
pyproject = true;
src = fetchFromGitHub {
owner = "Kalmat";
repo = "EWMHlib";
tag = "v${finalAttrs.version}";
hash = "sha256-NELOgUV8KuN+CqmoSbLYImguHlp8dyhGmJtoxJjOBkA=";
};
build-system = [ setuptools ];
dependencies = [
xlib
typing-extensions
];
# requires x session (call to defaultDisplay.screen() on import)
pythonImportsCheck = [ ];
doCheck = false;
meta = {
homepage = "https://github.com/Kalmat/EWMHlib";
license = lib.licenses.bsd3;
description = "Extended Window Manager Hints implementation in Python 3";
maintainers = with lib.maintainers; [ sigmanificient ];
};
})
|