2017-09-06 21:22:24 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2009-03-22 14:03:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-07-13 22:42:17 +02:00
|
|
|
name = "ucl-1.03";
|
2009-03-22 14:03:37 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz;
|
|
|
|
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
|
|
|
|
};
|
|
|
|
|
2017-08-15 09:15:48 +02:00
|
|
|
# needed to successfully compile with gcc 6
|
2017-09-06 21:22:24 +02:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-std=c90";
|
2017-08-15 09:15:48 +02:00
|
|
|
|
2009-03-22 14:03:37 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.oberhumer.com/opensource/ucl/;
|
|
|
|
description = "Portable lossless data compression library";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-03-22 14:03:37 +01:00
|
|
|
};
|
|
|
|
}
|