3
0
Fork 0
forked from mirrors/nixpkgs

bsc: init at 3.1.0

Compressor.
This commit is contained in:
Lluís Batlle i Rossell 2017-03-11 09:28:05 +01:00
parent a2737b1fdf
commit 8ac134321b
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchurl } :
stdenv.mkDerivation rec {
name = "bsc-${version}";
version = "3.1.0";
src = fetchurl {
url = "https://github.com/IlyaGrebnov/libbsc/archive/${version}.tar.gz";
sha256 = "01yhizaf6qjv1plyrx0fcib264maa5qwvgfvvid9rzlzj9fxjib6";
};
enableParallelBuilding = true;
preInstall = ''
makeFlagsArray+=("PREFIX=$out")
'';
meta = with stdenv.lib; {
description = "High performance block-sorting data compression library";
homepage = http://libbsc.com/;
# Later commits changed the licence to Apache2 (no release yet, though)
license = with licenses; [ lgpl3Plus ];
platforms = platforms.unix;
};
}

View file

@ -1100,6 +1100,8 @@ with pkgs;
atool = callPackage ../tools/archivers/atool { };
bsc = callPackage ../tools/compression/bsc { };
bzip2 = callPackage ../tools/compression/bzip2 { };
cabextract = callPackage ../tools/archivers/cabextract { };