Merge pull request #169191 from minijackson/waylandpp-0.2.10

waylandpp: 0.2.9 -> 0.2.10
This commit is contained in:
Guillaume Girol 2022-04-29 19:31:47 +00:00 committed by GitHub
commit 2d5fe8b052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -9,6 +9,7 @@
, buildPackages
, docSupport ? true
, doxygen ? null
, graphviz ? null
}:
assert docSupport -> doxygen != null;
@ -16,13 +17,13 @@ assert docSupport -> doxygen != null;
with lib;
stdenv.mkDerivation rec {
pname = "waylandpp";
version = "0.2.9";
version = "0.2.10";
src = fetchFromGitHub {
owner = "NilsBrause";
repo = pname;
rev = version;
sha256 = "sha256-c7sayJjQaqJWso2enESBx6OUW9vxxsfuHFolYDIYlXw=";
sha256 = "sha256-5/u6tp7/E4tjSfX+QJFmcUYdnyOgl9rB79PDE/SJH1o=";
};
cmakeFlags = [
@ -31,7 +32,7 @@ stdenv.mkDerivation rec {
"-DWAYLAND_SCANNERPP=${buildPackages.waylandpp}/bin/wayland-scanner++"
];
nativeBuildInputs = [ cmake pkg-config ] ++ optional docSupport doxygen;
nativeBuildInputs = [ cmake pkg-config ] ++ optionals docSupport [ doxygen graphviz ];
buildInputs = [ pugixml wayland libGL libffi ];
outputs = [ "bin" "dev" "lib" "out" ] ++ optionals docSupport [ "doc" "devman" ];

View file

@ -20995,7 +20995,9 @@ with pkgs;
wayland-protocols = callPackage ../development/libraries/wayland/protocols.nix { };
waylandpp = callPackage ../development/libraries/waylandpp { };
waylandpp = callPackage ../development/libraries/waylandpp {
graphviz = graphviz-nox;
};
wcslib = callPackage ../development/libraries/science/astronomy/wcslib { };