diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/tix/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/tix/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/libraries/tix/default.nix b/nixpkgs/pkgs/development/libraries/tix/default.nix index f0b460b6f3dc..e0f91330efca 100644 --- a/nixpkgs/pkgs/development/libraries/tix/default.nix +++ b/nixpkgs/pkgs/development/libraries/tix/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, tcl, tk, fetchpatch } : +{ lib, stdenv, fetchurl, tcl, tk, fetchpatch } : stdenv.mkDerivation { version = "8.4.3"; @@ -7,13 +7,13 @@ stdenv.mkDerivation { url = "mirror://sourceforge/tix/tix/8.4.3/Tix8.4.3-src.tar.gz"; sha256 = "1jq3dkyk9mqkj4cg7mdk5r0cclqsby9l2b7wrysi0zk5yw7h8bsn"; }; - patches = [ + patches = [ (fetchpatch { name = "tix-8.4.3-tcl8.5.patch"; url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-tcltk/tix/files/tix-8.4.3-tcl8.5.patch?id=56bd759df1d0c750a065b8c845e93d5dfa6b549d"; sha256 = "0wzqmcxxq0rqpnjgxz10spw92yhfygnlwv0h8pcx2ycnqiljz6vj"; }) - ] ++ stdenv.lib.optional (tcl.release == "8.6") + ] ++ lib.optional (tcl.release == "8.6") (fetchpatch { name = "tix-8.4.3-tcl8.6.patch"; url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-tcltk/tix/files/tix-8.4.3-tcl8.6.patch?id=56bd759df1d0c750a065b8c845e93d5dfa6b549d"; @@ -23,7 +23,7 @@ stdenv.mkDerivation { buildInputs = [ tcl tk ]; # the configure script expects to find the location of the sources of # tcl and tk in {tcl,tk}Config.sh - # In fact, it only needs some private headers. We copy them in + # In fact, it only needs some private headers. We copy them in # the private_headers folders and trick the configure script into believing # the sources are here. preConfigure = '' @@ -42,7 +42,7 @@ stdenv.mkDerivation { "--libdir=\${prefix}/lib" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A widget library for Tcl/Tk"; homepage = "http://tix.sourceforge.net/"; platforms = platforms.all; |