summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-01-20 16:38:39 +0100
committerDomen Kožar <domen@dev.si>2014-01-21 14:11:19 +0100
commitdbfaeaf0dfc00bb593d73c1998aa83a193824114 (patch)
tree9f399a73b58cb0f1414964d1d38e6e935a02957e /pkgs/development/libraries
parent668310a2b578d57a59dad7481db651ab3a258256 (diff)
downloadnixlib-dbfaeaf0dfc00bb593d73c1998aa83a193824114.tar
nixlib-dbfaeaf0dfc00bb593d73c1998aa83a193824114.tar.gz
nixlib-dbfaeaf0dfc00bb593d73c1998aa83a193824114.tar.bz2
nixlib-dbfaeaf0dfc00bb593d73c1998aa83a193824114.tar.lz
nixlib-dbfaeaf0dfc00bb593d73c1998aa83a193824114.tar.xz
nixlib-dbfaeaf0dfc00bb593d73c1998aa83a193824114.tar.zst
nixlib-dbfaeaf0dfc00bb593d73c1998aa83a193824114.zip
add gnome3.libgdata and liboauth
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libgdata/default.nix51
-rw-r--r--pkgs/development/libraries/liboauth/default.nix20
2 files changed, 20 insertions, 51 deletions
diff --git a/pkgs/development/libraries/libgdata/default.nix b/pkgs/development/libraries/libgdata/default.nix
deleted file mode 100644
index 368d873e52a1..000000000000
--- a/pkgs/development/libraries/libgdata/default.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-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
-
diff --git a/pkgs/development/libraries/liboauth/default.nix b/pkgs/development/libraries/liboauth/default.nix
new file mode 100644
index 000000000000..5a3b54544b54
--- /dev/null
+++ b/pkgs/development/libraries/liboauth/default.nix
@@ -0,0 +1,20 @@
+{ fetchurl, stdenv, nss, openssl, pkgconfig }:
+
+
+stdenv.mkDerivation rec {
+  name = "liboauth-1.0.1";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/liboauth/${name}.tar.gz";
+    sha256 = "12wdwq09nba8dzzcgcpbzmgcjr141ky69pm78s15hyyvw4px71sh";
+  };
+
+  buildInputs = [ nss openssl ];
+
+  meta = with stdenv.lib; {
+    platforms = platforms.linux;
+    description = "C library implementing the OAuth secure authentication protocol";
+    homepage = http://liboauth.sourceforge.net/;
+  };
+
+}