summary refs log tree commit diff
path: root/pkgs/development/libraries/ucl/default.nix
blob: 933a3afef35b5c21642a3bdbd1824e0aa29d4aa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchurl }:

stdenv.mkDerivation {
  name = "ucl-1.03";
  src = fetchurl {
    url = https://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz;
    sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
  };

  # needed to successfully compile with gcc 6
  NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-std=c90";

  meta = {
    homepage = http://www.oberhumer.com/opensource/ucl/;
    description = "Portable lossless data compression library";
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.unix;
  };
}