diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2011-05-27 05:39:44 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2011-05-27 05:39:44 +0000 |
commit | e0a4f988a4d72e91cc75f38e53ff8c105a169891 (patch) | |
tree | 40625d916732b7a919b06e3f940e295cd7a03455 /pkgs/development/libraries/libgdata | |
parent | 074ef3fd859449434953eb7a73addefc8ef1faed (diff) |
Make Ekiga build
svn path=/nixpkgs/trunk/; revision=27305
Diffstat (limited to 'pkgs/development/libraries/libgdata')
-rw-r--r-- | pkgs/development/libraries/libgdata/0.6.nix | 51 | ||||
-rw-r--r-- | pkgs/development/libraries/libgdata/default.nix | 51 |
2 files changed, 102 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libgdata/0.6.nix b/pkgs/development/libraries/libgdata/0.6.nix new file mode 100644 index 0000000000000..4ce95505f8fc2 --- /dev/null +++ b/pkgs/development/libraries/libgdata/0.6.nix @@ -0,0 +1,51 @@ +x@{builderDefsPackage + , glib, libsoup, libxml2, pkgconfig, intltool, perl + , libtasn1, nettle, gmp + , ...}: +builderDefsPackage +(a : +let + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ + []; + + buildInputs = map (n: builtins.getAttr n x) + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); + sourceInfo = rec { + baseName="libgdata"; + majorVersion="0.6"; + minorVersion="6"; + version="${majorVersion}.${minorVersion}"; + name="${baseName}-${version}"; + url="mirror://gnome/sources/${baseName}/${majorVersion}/${name}.tar.bz2"; + hash="cf6de3b60443faaf8e9c3b4c4b160c22a48df7925c1c793a7bb71d3d746f69f5"; + }; +in +rec { + src = a.fetchurl { + url = sourceInfo.url; + sha256 = sourceInfo.hash; + }; + + inherit (sourceInfo) name version; + inherit buildInputs; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + meta = { + description = "GData API library"; + maintainers = with a.lib.maintainers; + [ + raskin + ]; + platforms = with a.lib.platforms; + linux; + license = a.lib.licenses.lgpl21Plus; + }; + passthru = { + updateInfo = { + downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/${sourceInfo.baseName}/${sourceInfo.majorVersion}"; + }; + }; +}) x + diff --git a/pkgs/development/libraries/libgdata/default.nix b/pkgs/development/libraries/libgdata/default.nix new file mode 100644 index 0000000000000..368d873e52a1d --- /dev/null +++ b/pkgs/development/libraries/libgdata/default.nix @@ -0,0 +1,51 @@ +x@{builderDefsPackage + , glib, libsoup, libxml2, pkgconfig, intltool, perl + , libtasn1, nettle, gmp + , ...}: +builderDefsPackage +(a : +let + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ + []; + + buildInputs = map (n: builtins.getAttr n x) + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); + sourceInfo = rec { + baseName="libgdata"; + majorVersion="0.8"; + minorVersion="1"; + version="${majorVersion}.${minorVersion}"; + name="${baseName}-${version}"; + url="mirror://gnome/sources/${baseName}/${majorVersion}/${name}.tar.bz2"; + hash="1ffhd1dvjflwjsiba1qdianlzfdlfkjgifmw3c7qs2g6fzkf62q8"; + }; +in +rec { + src = a.fetchurl { + url = sourceInfo.url; + sha256 = sourceInfo.hash; + }; + + inherit (sourceInfo) name version; + inherit buildInputs; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + meta = { + description = "GData API library"; + maintainers = with a.lib.maintainers; + [ + raskin + ]; + platforms = with a.lib.platforms; + linux; + license = a.lib.licenses.lgpl21Plus; + }; + passthru = { + updateInfo = { + downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/${sourceInfo.baseName}"; + }; + }; +}) x + |