3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/wayfire/wf-config.nix

31 lines
888 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, cmake, meson, ninja, pkg-config
, doctest, glm, libevdev, libxml2
}:
2020-05-02 18:38:37 +01:00
stdenv.mkDerivation rec {
pname = "wf-config";
version = "0.7.1";
2020-05-02 18:38:37 +01:00
src = fetchurl {
2021-02-07 18:54:12 +00:00
url = "https://github.com/WayfireWM/wf-config/releases/download/v${version}/wf-config-${version}.tar.xz";
sha256 = "1w75yxhz0nvw4mlv38sxp8k8wb5h99b51x3fdvizc3yaxanqa8kx";
2020-05-02 18:38:37 +01:00
};
nativeBuildInputs = [ cmake meson ninja pkg-config ];
buildInputs = [ doctest libevdev libxml2 ];
2020-05-02 18:38:37 +01:00
propagatedBuildInputs = [ glm ];
# CMake is just used for finding doctest.
dontUseCmakeConfigure = true;
doCheck = true;
2020-05-02 18:38:37 +01:00
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;
};
}