summary refs log tree commit diff
path: root/pkgs/development/libraries/srtp
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2010-09-05 23:37:54 +0000
committerMichael Raskin <7c6f434c@mail.ru>2010-09-05 23:37:54 +0000
commit29db2ca0c9457131c8bf190c4a2ac4caae5d0433 (patch)
tree2960c1f537a4ff013c69114374c8d51560d2b938 /pkgs/development/libraries/srtp
parent84795126263e303c3a5ccf488cc5c114b8fdd14e (diff)
downloadnixpkgs-29db2ca0c9457131c8bf190c4a2ac4caae5d0433.tar
nixpkgs-29db2ca0c9457131c8bf190c4a2ac4caae5d0433.tar.gz
nixpkgs-29db2ca0c9457131c8bf190c4a2ac4caae5d0433.tar.bz2
nixpkgs-29db2ca0c9457131c8bf190c4a2ac4caae5d0433.tar.lz
nixpkgs-29db2ca0c9457131c8bf190c4a2ac4caae5d0433.tar.xz
nixpkgs-29db2ca0c9457131c8bf190c4a2ac4caae5d0433.tar.zst
nixpkgs-29db2ca0c9457131c8bf190c4a2ac4caae5d0433.zip
Adding Ekiga
svn path=/nixpkgs/trunk/; revision=23653
Diffstat (limited to 'pkgs/development/libraries/srtp')
-rw-r--r--pkgs/development/libraries/srtp/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/libraries/srtp/default.nix b/pkgs/development/libraries/srtp/default.nix
new file mode 100644
index 00000000000..887c0c7c1a3
--- /dev/null
+++ b/pkgs/development/libraries/srtp/default.nix
@@ -0,0 +1,47 @@
+x@{builderDefsPackage
+  , autoconf, automake, libtool, doxygen, procps
+  , ...}:
+builderDefsPackage
+(a :  
+let 
+  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
+    [];
+
+  buildInputs = map (n: builtins.getAttr n x)
+    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
+  sourceInfo = rec {
+    baseName="srtp";
+    version="1.4.2";
+    name="${baseName}-${version}";
+    url="http://srtp.sourceforge.net/${name}.tgz";
+    hash="1497mcxharnhiccjhny30g4wlv28ckdxhj14jrwvdnnvhl80jf43";
+  };
+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 = "Secure RTP";
+    maintainers = with a.lib.maintainers;
+    [
+      raskin
+    ];
+    platforms = with a.lib.platforms;
+      linux;
+  };
+  passthru = {
+    updateInfo = {
+      downloadPage = "http://srtp.sourceforge.net/download.html";
+    };
+  };
+}) x
+