2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2009-03-22 13:03:37 +00:00
|
|
|
|
2021-11-09 19:42:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ucl";
|
|
|
|
version = "1.03";
|
|
|
|
|
2009-03-22 13:03:37 +00:00
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "https://www.oberhumer.com/opensource/ucl/download/ucl-${version}.tar.gz";
|
2009-03-22 13:03:37 +00:00
|
|
|
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
|
|
|
|
};
|
|
|
|
|
2017-08-15 07:15:48 +00:00
|
|
|
# needed to successfully compile with gcc 6
|
2021-01-21 17:00:13 +00:00
|
|
|
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=c90";
|
2017-08-15 07:15:48 +00:00
|
|
|
|
2009-03-22 13:03:37 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.oberhumer.com/opensource/ucl/";
|
2009-03-22 13:03:37 +00:00
|
|
|
description = "Portable lossless data compression library";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2009-03-22 13:03:37 +00:00
|
|
|
};
|
|
|
|
}
|