summary refs log tree commit diff
path: root/pkgs/development/libraries/libarchive
diff options
context:
space:
mode:
authorJack Cummings <jack@mudshark.org>2012-10-20 22:17:14 -0700
committerJack Cummings <jack@mudshark.org>2012-10-20 22:17:14 -0700
commitd8006ae36854215819092ddfd678766586600d39 (patch)
tree9c9bc6e8650b6f95018a21eaf3d3cd25817c1ece /pkgs/development/libraries/libarchive
parenta13346961f34acb7c2604599b2603028d4fe1a46 (diff)
downloadnixpkgs-d8006ae36854215819092ddfd678766586600d39.tar
nixpkgs-d8006ae36854215819092ddfd678766586600d39.tar.gz
nixpkgs-d8006ae36854215819092ddfd678766586600d39.tar.bz2
nixpkgs-d8006ae36854215819092ddfd678766586600d39.tar.lz
nixpkgs-d8006ae36854215819092ddfd678766586600d39.tar.xz
nixpkgs-d8006ae36854215819092ddfd678766586600d39.tar.zst
nixpkgs-d8006ae36854215819092ddfd678766586600d39.zip
- libarchive-3.0.4
Diffstat (limited to 'pkgs/development/libraries/libarchive')
-rw-r--r--pkgs/development/libraries/libarchive/default.nix22
1 files changed, 15 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libarchive/default.nix b/pkgs/development/libraries/libarchive/default.nix
index fc554dcd875..64d769fab75 100644
--- a/pkgs/development/libraries/libarchive/default.nix
+++ b/pkgs/development/libraries/libarchive/default.nix
@@ -1,21 +1,29 @@
-{ fetchurl, stdenv, acl, openssl, libxml2, attr, zlib, bzip2, e2fsprogs
+{ fetchurl, stdenv, acl, openssl, libxml2, attr, zlib, bzip2, e2fsprogs, xz
 , sharutils }:
 
 stdenv.mkDerivation rec {
-  name = "libarchive-2.8.3";
+  name = "libarchive-3.0.4";
 
   src = fetchurl {
-    url = "http://libarchive.googlecode.com/files/${name}.tar.gz";
-    sha256 = "16095d15334b3c8dbb02db5af3d415f12c1c3bdd4eb43af7bbc36ab7572c0b7a";
+    url = "https://github.com/downloads/libarchive/libarchive/${name}.tar.gz";
+    sha256 = "76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac";
   };
 
-  propagatedBuildInputs = [ libxml2 zlib bzip2 openssl ] ++
+  propagatedBuildInputs = [ libxml2 zlib bzip2 openssl xz ] ++
     stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ];
 
   buildInputs = [ sharutils ];
 
   meta = {
-    description = "A library for reading and writing streaming archives";
-    homepage = http://people.freebsd.org/~kientzle/libarchive;
+    description = "Multi-format archive and compression library";
+    longDescription = ''
+      This library has code for detecting and reading many archive formats and
+      compressions formats including (but not limited to) tar, shar, cpio, zip, and
+      compressed with gzip, bzip2, lzma, xz, .. 
+    '';
+    homepage = http://libarchive.github.com/;
+    license = stdenv.lib.licenses.bsd3;
+    platforms = with stdenv.lib.platforms; all;
+    maintainers = with stdenv.lib.maintainers; [ jcumming ];
   };
 }