mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 17:25:11 +00:00
51eafbe028
Also remove -fPIC, it's included in the hardening flags by default.
20 lines
594 B
Nix
20 lines
594 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ucl-1.03";
|
|
src = fetchurl {
|
|
url = http://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;
|
|
};
|
|
}
|