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
63
pkgs/applications/networking/newsreaders/pan/default.nix
Normal file
63
pkgs/applications/networking/newsreaders/pan/default.nix
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
{ spellChecking ? true
|
||||
, lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, gtkspell3
|
||||
, gmime2
|
||||
, gettext
|
||||
, intltool
|
||||
, itstool
|
||||
, libxml2
|
||||
, libnotify
|
||||
, gnutls
|
||||
, makeWrapper
|
||||
, gnupg
|
||||
, gnomeSupport ? true
|
||||
, libsecret
|
||||
, gcr
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pan";
|
||||
version = "0.146";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
|
||||
sha256 = "17agd27sn4a7nahvkpg0w39kv74njgdrrygs74bbvpaj8rk2hb55";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Take <glib.h>, <gmime.h>, "gtk-compat.h" out of extern "C"
|
||||
./move-out-of-extern-c.diff
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext intltool itstool libxml2 makeWrapper ];
|
||||
|
||||
buildInputs = [ gtk3 gmime2 libnotify gnutls ]
|
||||
++ lib.optional spellChecking gtkspell3
|
||||
++ lib.optionals gnomeSupport [ libsecret gcr ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-dbus"
|
||||
"--with-gtk3"
|
||||
"--with-gnutls"
|
||||
"--enable-libnotify"
|
||||
] ++ lib.optional spellChecking "--with-gtkspell"
|
||||
++ lib.optional gnomeSupport "--enable-gkr";
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pan --suffix PATH : ${gnupg}/bin
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GTK-based Usenet newsreader good at both text and binaries";
|
||||
homepage = "http://pan.rebelbase.com/";
|
||||
maintainers = [ maintainers.eelco ];
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ gpl2Only fdl11 ];
|
||||
};
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue