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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ lib, stdenv, fetchurl, pkg-config, gnome, gtk3, gjs, flex, bison, libxml2, intltool,
gdl, libgda, gtksourceview, gsettings-desktop-schemas,
itstool, python3, ncurses, makeWrapper }:
stdenv.mkDerivation rec {
pname = "anjuta";
version = "3.34.0";
src = fetchurl {
url = "mirror://gnome/sources/anjuta/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "13ql7axw6zz387s7pa1m7wmh7qps3x7fk53h9832vq1yxlq33aa2";
};
passthru = {
updateScript = gnome.updateScript { packageName = "anjuta"; attrPath = "gnome.anjuta"; };
};
enableParallelBuilding = true;
nativeBuildInputs = [
pkg-config intltool itstool python3 makeWrapper
# Required by python3
ncurses
];
buildInputs = [
flex bison gtk3 libxml2 gjs gdl
libgda gtksourceview
gsettings-desktop-schemas
];
preFixup = ''
wrapProgram $out/bin/anjuta \
--prefix XDG_DATA_DIRS : \
"$GSETTINGS_SCHEMAS_PATH"
'';
meta = with lib; {
description = "Software development studio";
homepage = "http://anjuta.org/";
license = licenses.gpl2;
maintainers = with maintainers; [];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,103 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
, gnome
, gtk3
, wrapGAppsHook
, glib
, appstream-glib
, gobject-introspection
, python3
, gi-docgen
, webkitgtk
, gettext
, itstool
, gsettings-desktop-schemas
, shared-mime-info
}:
stdenv.mkDerivation rec {
pname = "devhelp";
version = "41.2";
outputs = [ "out" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/devhelp/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "7KqQsPTaqPsgMPbcaQv1M/+Zp3NDf+Dhis/oLZl/YNI=";
};
patches = [
# Fix build with meson 0.61
# https://gitlab.gnome.org/GNOME/devhelp/-/issues/59
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/devhelp/-/commit/281bade14c1925cf9e7329fa8e9cf2d82512c66f.patch";
sha256 = "LmHoeQ0zJwOhuasAUYy8FfpDnEO+UNfEb293uKttYKo=";
})
];
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
itstool
wrapGAppsHook
appstream-glib
gobject-introspection
python3
gi-docgen
];
buildInputs = [
glib
gtk3
webkitgtk
gnome.adwaita-icon-theme
gsettings-desktop-schemas
];
mesonFlags = [
"-Dgtk_doc=true"
];
doCheck = true;
postPatch = ''
# patchShebangs requires executable file
chmod +x build-aux/meson/meson_post_install.py
patchShebangs build-aux/meson/meson_post_install.py
'';
preFixup = ''
gappsWrapperArgs+=(
# Fix pages being blank
# https://gitlab.gnome.org/GNOME/devhelp/issues/14
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
)
'';
postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput share/doc/devhelp-3 "$devdoc"
'';
passthru = {
updateScript = gnome.updateScript {
packageName = "devhelp";
attrPath = "gnome.devhelp";
};
};
meta = with lib; {
description = "API documentation browser for GNOME";
homepage = "https://wiki.gnome.org/Apps/Devhelp";
license = licenses.gpl3Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,25 @@
{ lib, stdenv, fetchurl, gnome, intltool, itstool, libxml2 }:
stdenv.mkDerivation rec {
pname = "gnome-devel-docs";
version = "40.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-devel-docs/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "v+jyHcqx70sRVlThchK8sDtqEAgzQIA/SW8ia0oILPY=";
};
passthru = {
updateScript = gnome.updateScript { packageName = "gnome-devel-docs"; attrPath = "gnome.gnome-devel-docs"; };
};
buildInputs = [ intltool itstool libxml2 ];
meta = with lib; {
homepage = "https://github.com/GNOME/gnome-devel-docs";
description = "Developer documentation for GNOME";
maintainers = teams.gnome.members;
license = licenses.fdl12;
platforms = platforms.linux;
};
}