blob: 81469165811f0f5be9705e18882ac32f12db24f9 (
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
|
{ stdenv, fetchFromGitHub
, pkgconfig, meson, ninja
, libevdev, wlroots
, buildDocs ? true
}:
let
metadata = import ./metadata.nix;
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "wf-config";
version = metadata.rev;
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wf-config";
rev = version;
sha256 = metadata.sha256;
};
nativeBuildInputs = [ pkgconfig meson ninja ];
buildInputs = [ libevdev wlroots ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A library for managing configuration files, written for wayfire";
homepage = "https://github.com/WayfireWM/wf-config";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ colemickens ];
};
}
|