git.iko.soy/typeable/nixpkgs
on master help sign in
bsc: init at 3.1.0

Compressor.

commit8ac134321b5c525bf33d6136528fa13b8d5f2707 authorLluís Batlle i Rossell <viric@viric.name> dateSat 11 Mar 2017, 09:28 (10 years ago) parenta2737b1
2 files changed+27
pkgs/tools/compression/bsc/default.nix+25 pkgs/top-level/all-packages.nix+2
pkgs/tools/compression/bsc/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ stdenv, fetchurl } :
2+
3+stdenv.mkDerivation rec {
4+ name = "bsc-${version}";
5+ version = "3.1.0";
6+
7+ src = fetchurl {
8+ url = "https://github.com/IlyaGrebnov/libbsc/archive/${version}.tar.gz";
9+ sha256 = "01yhizaf6qjv1plyrx0fcib264maa5qwvgfvvid9rzlzj9fxjib6";
10+ };
11+
12+ enableParallelBuilding = true;
13+
14+ preInstall = ''
15+ makeFlagsArray+=("PREFIX=$out")
16+ '';
17+
18+ meta = with stdenv.lib; {
19+ description = "High performance block-sorting data compression library";
20+ homepage = http://libbsc.com/;
21+ # Later commits changed the licence to Apache2 (no release yet, though)
22+ license = with licenses; [ lgpl3Plus ];
23+ platforms = platforms.unix;
24+ };
25+}
pkgs/top-level/all-packages.nix+2
@@ -1100,6 +1100,8 @@ with pkgs;
11001100
11011101 atool = callPackage ../tools/archivers/atool { };
11021102
1103+ bsc = callPackage ../tools/compression/bsc { };
1104+
11031105 bzip2 = callPackage ../tools/compression/bzip2 { };
11041106
11051107 cabextract = callPackage ../tools/archivers/cabextract { };