Merge pull request #80906 from bennofs/fix-lbzip2-build
Fix lbzip2 build
This commit is contained in:
commit
c50080551f
|
@ -1,13 +1,23 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchFromGitHub, gnulib, perl, autoconf, automake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lbzip2-2.5";
|
version = "2.5";
|
||||||
|
name = "lbzip2-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://archive.lbzip2.org/${name}.tar.gz";
|
owner = "kjn";
|
||||||
sha256 = "1sahaqc5bw4i0iyri05syfza4ncf5cml89an033fspn97klmxis6";
|
repo = "lbzip2";
|
||||||
|
sha256 = "1h321wva6fp6khz6x0i6rqb76xh327nw6v5jhgjpcckwdarj5jv8";
|
||||||
|
rev = "v${version}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ gnulib perl ];
|
||||||
|
nativeBuildInputs = [ autoconf automake ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./build-aux/autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/kjn/lbzip2"; # Formerly http://lbzip2.org/
|
homepage = "https://github.com/kjn/lbzip2"; # Formerly http://lbzip2.org/
|
||||||
description = "Parallel bzip2 compression utility";
|
description = "Parallel bzip2 compression utility";
|
||||||
|
|
Loading…
Reference in a new issue