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
|
|
@ -0,0 +1,11 @@
|
|||
diff -urNZ a/configure.ac.in b/configure.ac.in
|
||||
--- a/configure.ac.in 2017-12-16 19:46:13.784914017 +0000
|
||||
+++ b/configure.ac.in 2017-12-16 19:46:38.612477052 +0000
|
||||
@@ -53,6 +53,7 @@
|
||||
dnl ***********************************
|
||||
dnl *** Check for required packages ***
|
||||
dnl ***********************************
|
||||
+XDT_CHECK_PACKAGE([GIO], [gio-unix-2.0], [2.32.0])
|
||||
XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.24.0])
|
||||
XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.20.0])
|
||||
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.0])
|
||||
24
pkgs/desktops/xfce/applications/xfce4-dict/default.nix
Normal file
24
pkgs/desktops/xfce/applications/xfce4-dict/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, mkXfceDerivation, automakeAddFlags, gtk3, libxfce4ui, libxfce4util, xfce4-panel }:
|
||||
|
||||
mkXfceDerivation {
|
||||
category = "apps";
|
||||
pname = "xfce4-dict";
|
||||
version = "0.8.4";
|
||||
|
||||
sha256 = "sha256-UEkHB+i6hkTTjX62GCnr4uiCdZANuffSx2Nb2DF/pT4=";
|
||||
|
||||
patches = [ ./configure-gio.patch ];
|
||||
|
||||
nativeBuildInputs = [ automakeAddFlags ];
|
||||
|
||||
postPatch = ''
|
||||
automakeAddFlags lib/Makefile.am libdict_la_CFLAGS GIO_CFLAGS
|
||||
'';
|
||||
|
||||
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Dictionary Client for the Xfce desktop environment";
|
||||
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue