diff options
author | Andrew Brooks <andrew.brooks@flightaware.com> | 2021-04-30 18:48:46 -0500 |
---|---|---|
committer | Andrew Brooks <andrew.brooks@flightaware.com> | 2021-05-21 15:18:12 -0500 |
commit | 9979565b0c7f7b4ac95848af15c23b14ba6ab4a9 (patch) | |
tree | 539f83a629925fbf9f976b9d3933ca831bfb79b0 /pkgs/games/scid | |
parent | 1f74a70740886a618f26d8cec548e6a7c5086d53 (diff) |
scid: Simplify package with tcl.mkTclDerivation
Diffstat (limited to 'pkgs/games/scid')
-rw-r--r-- | pkgs/games/scid/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/games/scid/default.nix b/pkgs/games/scid/default.nix index 7b1a15c0a5515..b85af66065ab7 100644 --- a/pkgs/games/scid/default.nix +++ b/pkgs/games/scid/default.nix @@ -1,6 +1,6 @@ -{ lib, stdenv, fetchurl, tcl, tk, libX11, zlib, makeWrapper }: +{ lib, fetchurl, tcl, tk, libX11, zlib, makeWrapper }: -stdenv.mkDerivation { +tcl.mkTclDerivation { pname = "scid"; version = "4.3"; @@ -10,7 +10,7 @@ stdenv.mkDerivation { }; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ tcl tk libX11 zlib ]; + buildInputs = [ tk libX11 zlib ]; prePatch = '' sed -i -e '/^ *set headerPath *{/a ${tcl}/include ${tk}/include' \ @@ -45,13 +45,13 @@ stdenv.mkDerivation { for cmd in $out/bin/* do wrapProgram "$cmd" \ - --set TCLLIBPATH "${tcl}/${tcl.libdir}" \ --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}" done ''; meta = { description = "Chess database with play and training functionality"; + maintainers = with maintainers; [ agbrooks ]; homepage = "http://scid.sourceforge.net/"; license = lib.licenses.gpl2; }; |