diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/ucl')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/ucl/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/ucl/default.nix b/nixpkgs/pkgs/development/libraries/ucl/default.nix new file mode 100644 index 000000000000..5aef7e9d8f4e --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/ucl/default.nix @@ -0,0 +1,21 @@ +{ lib, stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "ucl"; + version = "1.03"; + + src = fetchurl { + url = "https://www.oberhumer.com/opensource/ucl/download/ucl-${version}.tar.gz"; + sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348"; + }; + + # needed to successfully compile with gcc 6 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=c90"; + + meta = { + homepage = "http://www.oberhumer.com/opensource/ucl/"; + description = "Portable lossless data compression library"; + license = lib.licenses.gpl2; + platforms = lib.platforms.unix; + }; +} |