summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-libarchive/default.nix
blob: 02fe234792444669c1bf6362315925a8f42c2e67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv
, buildPythonPackage
, fetchurl
, isPy3k
, pkgs
}:

buildPythonPackage rec {
  version = "3.1.2-1";
  pname = "libarchive";
  disabled = isPy3k;

  src = fetchurl {
    url = "http://python-libarchive.googlecode.com/files/python-libarchive-${version}.tar.gz";
    sha256 = "0j4ibc4mvq64ljya9max8832jafi04jciff9ia9qy0xhhlwkcx8x";
  };

  propagatedBuildInputs = [ pkgs.libarchive.lib ];

  meta = with stdenv.lib; {
    description = "Multi-format archive and compression library";
    homepage = "https://libarchive.org/";
    license = licenses.bsd0;
    broken = true;
  };

}