11 tcl.mkTclDerivation rec {
15 src = fetchFromGitHub {
19 hash = "sha256-5WGZm7EwhZAMKJKxj/OOIFOJIgPBcc6/Bh4xVAlia4Y=";
23 substituteInPlace configure \
24 --replace "set var(INSTALL) {install_mac}" ""
39 "SHAREDIR=$(out)/share"
43 "CC=${stdenv.cc.targetPrefix}cc"
46 enableParallelBuilding = true;
49 description = "Chess database with play and training functionality";
50 maintainers = with lib.maintainers; [ agbrooks ];
51 homepage = "https://scid.sourceforge.net/";
52 license = lib.licenses.gpl2Only;
53 platforms = lib.platforms.all;