uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
68
pkgs/development/web/cog/default.nix
Normal file
68
pkgs/development/web/cog/default.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, libwpe
|
||||
, libwpe-fdo
|
||||
, glib-networking
|
||||
, webkitgtk
|
||||
, makeWrapper
|
||||
, wrapGAppsHook
|
||||
, gnome
|
||||
, gdk-pixbuf
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cog";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "igalia";
|
||||
repo = "cog";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-eF7rvOjZntcMmn622342yqfp4ksZ6R/FFBT36bYCViE=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
wayland-protocols
|
||||
wayland
|
||||
libwpe
|
||||
libwpe-fdo
|
||||
webkitgtk
|
||||
glib-networking
|
||||
gdk-pixbuf
|
||||
gnome.adwaita-icon-theme
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
wayland
|
||||
makeWrapper
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
depsBuildsBuild = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCOG_USE_WEBKITGTK=ON"
|
||||
];
|
||||
|
||||
# not ideal, see https://github.com/WebPlatformForEmbedded/libwpe/issues/59
|
||||
preFixup = ''
|
||||
wrapProgram $out/bin/cog \
|
||||
--prefix LD_LIBRARY_PATH : ${libwpe-fdo}/lib
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small single “window” launcher for the WebKit WPE port";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.matthewbauer ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue