mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Add neon-0.29.x, make it default
Also stop using "default" neon in all-packages.nix. Minor versions are not source-compatible, so a package should state needed version explicitly. svn path=/nixpkgs/trunk/; revision=21394
This commit is contained in:
parent
d5601ee60e
commit
b7151c4e2c
2 changed files with 51 additions and 5 deletions
37
pkgs/development/libraries/neon/0.29.nix
Normal file
37
pkgs/development/libraries/neon/0.29.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, fetchurl, libxml2, pkgconfig
|
||||
, compressionSupport ? true, zlib ? null
|
||||
, sslSupport ? true, openssl ? null
|
||||
, static ? false
|
||||
, shared ? true
|
||||
}:
|
||||
|
||||
assert compressionSupport -> zlib != null;
|
||||
assert sslSupport -> openssl != null;
|
||||
assert static || shared;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "neon-0.29.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.webdav.org/neon/${name}.tar.gz";
|
||||
sha256 = "1d1c6zhr00yvg0fbhpkq8kmsq9cchr112ii9rl39gdybyflh9444";
|
||||
};
|
||||
|
||||
buildInputs = [libxml2 pkgconfig openssl]
|
||||
++ stdenv.lib.optional compressionSupport zlib;
|
||||
|
||||
configureFlags = ''
|
||||
${if shared then "--enable-shared" else "--disable-shared"}
|
||||
${if static then "--enable-static" else "--disable-static"}
|
||||
${if compressionSupport then "--with-zlib" else "--without-zlib"}
|
||||
${if sslSupport then "--with-ssl" else "--without-ssl"}
|
||||
--enable-shared
|
||||
'';
|
||||
|
||||
passthru = {inherit compressionSupport sslSupport;};
|
||||
|
||||
meta = {
|
||||
description = "An HTTP and WebDAV client library";
|
||||
homepage = http://www.webdav.org/neon/;
|
||||
};
|
||||
}
|
|
@ -1636,7 +1636,8 @@ let
|
|||
};
|
||||
|
||||
sitecopy = import ../tools/networking/sitecopy {
|
||||
inherit fetchurl stdenv neon openssl;
|
||||
inherit fetchurl stdenv openssl;
|
||||
neon = neon026;
|
||||
};
|
||||
|
||||
privoxy = import ../tools/networking/privoxy {
|
||||
|
@ -1792,7 +1793,8 @@ let
|
|||
};
|
||||
|
||||
wdfs = import ../tools/filesystems/wdfs {
|
||||
inherit stdenv fetchurl neon fuse pkgconfig glib;
|
||||
inherit stdenv fetchurl fuse pkgconfig glib;
|
||||
neon = neon026;
|
||||
};
|
||||
|
||||
wdiff = import ../tools/text/wdiff {
|
||||
|
@ -4714,7 +4716,7 @@ let
|
|||
unicode = (system != "i686-cygwin" && crossSystem == null);
|
||||
};
|
||||
|
||||
neon = neon026;
|
||||
neon = neon029;
|
||||
|
||||
neon026 = import ../development/libraries/neon/0.26.nix {
|
||||
inherit fetchurl stdenv libxml2 zlib openssl pkgconfig;
|
||||
|
@ -4728,6 +4730,12 @@ let
|
|||
sslSupport = true;
|
||||
};
|
||||
|
||||
neon029 = import ../development/libraries/neon/0.29.nix {
|
||||
inherit fetchurl stdenv libxml2 zlib openssl pkgconfig;
|
||||
compressionSupport = true;
|
||||
sslSupport = true;
|
||||
};
|
||||
|
||||
nethack = builderDefsPackage (import ../games/nethack) {
|
||||
inherit ncurses flex bison;
|
||||
};
|
||||
|
@ -7890,12 +7898,13 @@ let
|
|||
openoffice = import ../applications/office/openoffice {
|
||||
inherit fetchurl stdenv pam python tcsh libxslt perl zlib libjpeg
|
||||
expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron
|
||||
curl libsndfile flex zip unzip libmspack getopt file neon cairo
|
||||
curl libsndfile flex zip unzip libmspack getopt file cairo
|
||||
which icu jdk ant cups openssl bison boost gperf cppunit;
|
||||
inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama;
|
||||
inherit (gtkLibs) gtk;
|
||||
inherit (perlPackages) ArchiveZip CompressZlib;
|
||||
inherit (gnome) GConf ORBit2;
|
||||
neon = neon026;
|
||||
};
|
||||
|
||||
opera = import ../applications/networking/browsers/opera {
|
||||
|
@ -8130,7 +8139,7 @@ let
|
|||
|
||||
subversion = makeOverridable (import ../applications/version-management/subversion/default.nix) {
|
||||
inherit (pkgsOverriden) fetchurl stdenv apr aprutil expat swig zlib jdk python perl sqlite;
|
||||
neon = neon028;
|
||||
neon = neon029;
|
||||
bdbSupport = getConfig ["subversion" "bdbSupport"] true;
|
||||
httpServer = getConfig ["subversion" "httpServer"] false;
|
||||
httpSupport = getConfig ["subversion" "httpSupport"] true;
|
||||
|
|
Loading…
Reference in a new issue