pythonPackages.libarchive: refactor move to python-modules
This commit is contained in:
parent
e960b3128d
commit
0594a95c96
@ -0,0 +1,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;
|
||||
};
|
||||
|
||||
}
|
@ -4237,19 +4237,8 @@ in {
|
||||
tarman = callPackage ../development/python-modules/tarman { };
|
||||
|
||||
libarchive = self.python-libarchive; # The latter is the name upstream uses
|
||||
python-libarchive = buildPythonPackage rec {
|
||||
version = "3.1.2-1";
|
||||
name = "libarchive-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://python-libarchive.googlecode.com/files/python-libarchive-${version}.tar.gz";
|
||||
sha256 = "0j4ibc4mvq64ljya9max8832jafi04jciff9ia9qy0xhhlwkcx8x";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ pkgs.libarchive.lib ];
|
||||
meta.broken = true;
|
||||
};
|
||||
python-libarchive = callPackage ../development/python-modules/python-libarchive { };
|
||||
|
||||
libarchive-c = buildPythonPackage rec {
|
||||
name = "libarchive-c-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user