18 stdenv.mkDerivation rec {
22 src = fetchFromGitHub {
26 sha256 = "sha256-eF7rvOjZntcMmn622342yqfp4ksZ6R/FFBT36bYCViE=";
37 gnome.adwaita-icon-theme
53 "-DCOG_USE_WEBKITGTK=ON"
56 # https://github.com/Igalia/cog/issues/438
58 substituteInPlace core/cogcore.pc.in \
59 --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
62 # not ideal, see https://github.com/WebPlatformForEmbedded/libwpe/issues/59
64 wrapProgram $out/bin/cog \
65 --prefix LD_LIBRARY_PATH : ${libwpe-fdo}/lib
69 description = "A small single “window” launcher for the WebKit WPE port";
70 license = licenses.mit;
71 maintainers = [ maintainers.matthewbauer ];
72 platforms = platforms.linux;