2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ucl";
|
|
|
|
version = "1.03";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://www.oberhumer.com/opensource/ucl/download/ucl-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
|
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
# needed to successfully compile with gcc 6+ and modern clang versions where
|
|
|
|
# `-Wimplicit-function-declaration` is otherwise on and errors by default
|
|
|
|
env.CFLAGS = "-std=c89";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.oberhumer.com/opensource/ucl/";
|
|
|
|
description = "Portable lossless data compression library";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|