diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2018-11-05 19:10:22 -0800 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2018-11-12 03:42:08 -0800 |
commit | c7478ea6ade3aa8bbf2ffe50048d528e4971a30b (patch) | |
tree | b766210438b61e454a976f5eab28cf2ae91651c3 /pkgs/wf-config/default.nix | |
parent | 54de53d3ff5fcd3efdc01b528a0c17c0b47f6ec4 (diff) |
places packages into a pkgs/ directory
Signed-off-by: Cole Mickens <cole.mickens@gmail.com>
Diffstat (limited to 'pkgs/wf-config/default.nix')
-rw-r--r-- | pkgs/wf-config/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/wf-config/default.nix b/pkgs/wf-config/default.nix new file mode 100644 index 0000000..8146916 --- /dev/null +++ b/pkgs/wf-config/default.nix @@ -0,0 +1,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 ]; + }; +} |