wf-config: 0.7.0 -> 0.7.1; enable tests
This commit is contained in:
parent
f7dccd8e25
commit
e337e136dd
@ -1,18 +1,25 @@
|
|||||||
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, glm, libevdev, libxml2 }:
|
{ stdenv, lib, fetchurl, cmake, meson, ninja, pkg-config
|
||||||
|
, doctest, glm, libevdev, libxml2
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wf-config";
|
pname = "wf-config";
|
||||||
version = "0.7.0";
|
version = "0.7.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/WayfireWM/wf-config/releases/download/v${version}/wf-config-${version}.tar.xz";
|
url = "https://github.com/WayfireWM/wf-config/releases/download/v${version}/wf-config-${version}.tar.xz";
|
||||||
sha256 = "1bas5gsbnf8jxkkxd95992chz8yk5ckgg7r09gfnmm7xi8w0pyy7";
|
sha256 = "1w75yxhz0nvw4mlv38sxp8k8wb5h99b51x3fdvizc3yaxanqa8kx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ cmake meson ninja pkg-config ];
|
||||||
buildInputs = [ libevdev libxml2 ];
|
buildInputs = [ doctest libevdev libxml2 ];
|
||||||
propagatedBuildInputs = [ glm ];
|
propagatedBuildInputs = [ glm ];
|
||||||
|
|
||||||
|
# CMake is just used for finding doctest.
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/WayfireWM/wf-config";
|
homepage = "https://github.com/WayfireWM/wf-config";
|
||||||
description = "Library for managing configuration files, written for Wayfire";
|
description = "Library for managing configuration files, written for Wayfire";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user