forked from mirrors/nixpkgs
bsc: init at 3.1.0
Compressor.
This commit is contained in:
parent
a2737b1fdf
commit
8ac134321b
25
pkgs/tools/compression/bsc/default.nix
Normal file
25
pkgs/tools/compression/bsc/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue