python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libxcomp / default.nix
blobb66fe5c5a21a3769a23d00e5b1750fd75a58dfbd
1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libjpeg, libpng, libX11, zlib }:
3 stdenv.mkDerivation rec {
4   pname = "libxcomp";
5   version = "3.5.99.16";
7   src = fetchurl {
8     sha256 = "1m3z9w3h6qpgk265xf030w7lcs181jgw2cdyzshb7l97mn1f7hh2";
9     url = "https://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz";
10   };
12   buildInputs = [ libjpeg libpng libX11 zlib ];
13   nativeBuildInputs = [ autoreconfHook pkg-config ];
15   preAutoreconf = ''
16     cd nxcomp/
17     sed -i 's|/src/.libs/libXcomp.a|/src/.libs/libXcomp.la|' test/Makefile.am
18   '';
20   enableParallelBuilding = true;
22   meta = with lib; {
23     description = "NX compression library";
24     homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
25     license = licenses.gpl2;
26     platforms = platforms.linux;
27   };