blob: 31e0b5a7a490d2f7d2eec9b85bc85020ae5cf1c4 (
plain) (
blame)
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
|
{ stdenv, lib, fetchFromGitHub, fetchpatch, meson, ninja, pkg-config
, glm, libevdev, libxml2
}:
stdenv.mkDerivation rec {
pname = "wf-config";
version = "0.4.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wf-config";
rev = version;
sha256 = "0pb2v71x0dv9s96wi20d9bc9rlxzr85rba7vny6751j7frqr4xf7";
};
patches = [
# Modify wf::config::build_configuration to allow plugins
# installed outside of Wayfire's prefix. Otherwise, we'd have to
# build all Wayfire plugins in the wayfire derivation. Remove if
# <https://github.com/WayfireWM/wf-config/pull/25> is applied
# upstream.
(fetchpatch {
url = "https://github.com/WayfireWM/wf-config/commit/36578282f774d71eb8ebcd2dfc9d923eb70ac637.patch";
sha256 = "152744xgi9ha135r7qfyivdl5cgcp9kik224ncwqv9a480m7nwj6";
})
];
strictDeps = true;
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ libevdev libxml2 ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/WayfireWM/wf-config";
description = "Library for managing configuration files, written for Wayfire";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 ];
platforms = platforms.unix;
};
}
|