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
38
pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
Normal file
38
pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libxml2, bzip2, openssl, dbus-glib
|
||||
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-vfs";
|
||||
version = "2.24.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-vfs/${lib.versions.majorMinor version}/gnome-vfs-${version}.tar.bz2";
|
||||
sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ intltool pkg-config ];
|
||||
buildInputs =
|
||||
[ libxml2 bzip2 openssl dbus-glib gamin cdparanoia
|
||||
gnome_mime_data avahi acl
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ GConf glib ];
|
||||
|
||||
# struct SSL is opaque in openssl-1.1; and the SSL_free() man page
|
||||
# says that one should not free members of it manually (in both
|
||||
# the openssl-1.0 and openssl-1.1 man pages).
|
||||
# https://bugs.gentoo.org/592540
|
||||
patches = [ (fetchpatch {
|
||||
name = "gnome-vfs-2.24.4-openssl-1.1.patch";
|
||||
url = "https://bugs.gentoo.org/attachment.cgi?id=535944";
|
||||
sha256 = "1q4icapvmwmd5rjah7rr0bqazzk5cg36znmjlpra20n9y27nz040";
|
||||
extraPrefix = "";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
|
||||
|
||||
doCheck = false; # needs dbus daemon
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue