1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "https://www.oberhumer.com/opensource/ucl/download/ucl-${version}.tar.gz";
9 sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
12 # needed to successfully compile with gcc 6+ and modern clang versions where
13 # `-Wimplicit-function-declaration` is otherwise on and errors by default
14 env.CFLAGS = "-std=c89";
17 homepage = "http://www.oberhumer.com/opensource/ucl/";
18 description = "Portable lossless data compression library";
19 license = lib.licenses.gpl2;
20 platforms = lib.platforms.unix;