diff --git a/pkgs/development/libraries/gtk-libs/2.14/default.nix b/pkgs/development/libraries/gtk-libs/2.14/default.nix index a5ac93d068d1..89abc0e62086 100644 --- a/pkgs/development/libraries/gtk-libs/2.14/default.nix +++ b/pkgs/development/libraries/gtk-libs/2.14/default.nix @@ -12,7 +12,6 @@ rec { inherit glib atk pango; }); - glibmm = (import ./glibmm) (args // { inherit glib; }); pangomm = (import ./pangomm) (args // { inherit pango glibmm cairomm; }); diff --git a/pkgs/development/libraries/jasper/default.nix b/pkgs/development/libraries/jasper/default.nix index 192e22add6ef..cf91952534c4 100644 --- a/pkgs/development/libraries/jasper/default.nix +++ b/pkgs/development/libraries/jasper/default.nix @@ -1,18 +1,19 @@ -args: with args; +{stdenv, fetchurl, unzip, xlibs, libjpeg}: + stdenv.mkDerivation rec { - name = "jasper-1.900.1"; + name = "jasper-1.900.1"; - src = fetchurl { - url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.zip"; - sha256 = "154l7zk7yh3v8l2l6zm5s2alvd2fzkp6c9i18iajfbna5af5m43b"; - }; + src = fetchurl { + url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.zip"; + sha256 = "154l7zk7yh3v8l2l6zm5s2alvd2fzkp6c9i18iajfbna5af5m43b"; + }; - buildInputs = [ unzip libjpeg xproto libX11 libICE freeglut mesa libXmu - libXi libXext libXt ]; - configureFlags = "--enable-shared --disable-static --with-x"; + buildInputs = [unzip libjpeg]; + + configureFlags = "--enable-shared --disable-static"; - meta = { - homepage = http://www.ece.uvic.ca/~mdadams/jasper/; - description = "JasPer JPEG2000 Library"; - }; + meta = { + homepage = http://www.ece.uvic.ca/~mdadams/jasper/; + description = "JasPer JPEG2000 Library"; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a53cbdc01e0e..dd2bc0f5ce58 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3186,8 +3186,7 @@ let }; jasper = import ../development/libraries/jasper { - inherit fetchurl stdenv unzip libjpeg freeglut mesa; - inherit (xlibs) xproto libX11 libICE libXmu libXi libXext libXt; + inherit fetchurl stdenv unzip xlibs libjpeg; }; lablgtk = import ../development/libraries/lablgtk {