Change:
The package PySolFC is broken: It does not even start but throws an exception. Looks like noone has ever tested this. :( -shell -p pysolfc .py Traceback (most recent call last): File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-", line 37, in <modulefrom import main # noqa: E402,I202 File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 30, in <modulefrom import Application File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 31, in <modulefrom import GAMEDB, GI, loadGame File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 28, in <modulefrom pysollib.mfxutil import Struct, printerr File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 146, in <moduleuclock = AttributeError: module 'time' has no attribute 'clock'
Just ran into this as well. Looks like was removed in Python 3.8, but also the version of PySolFC in is three and a half years (and ten minor versions) old so decent chance bumping the package version takes care of it

Discussion:
githubId = 772914; name = "Mikael Voss"; }; <ins> mwolfe = { email = "corp@m0rg.dev"; github = "m0rg-dev"; githubId = 38578268; name = "Morgan Wolfe"; }; </ins> maxwilson = { email = "nixpkgs@maxwilson.dev"; github = "mwilsoncoding";

<ins> { lib, buildPythonPackage, fetchPypi }: buildPythonPackage rec { pname = "pycotap"; version = "1.2.2"; src = fetchPypi { inherit pname version; sha256 = "sha256-+Tjs1JMczRnZWY+2M9Xqu3k48IuEcXMV5SUmqmJ3yew="; }; meta = with lib; { description = "Test runner for unittest that outputs TAP results to stdout"; homepage = "https://el-tramo.be/pycotap"; license = licenses.mit; maintainers = with maintainers; [ mwolfe ]; }; } </ins>

<ins> { lib, buildPythonPackage, fetchPypi, six, random2 }: buildPythonPackage rec { pname = "pysol-cards"; version = "0.14.2"; src = fetchPypi { inherit version; pname = "pysol_cards"; sha256 = "sha256-wI3oV1d7w+7JcMOt08RbNlMWzChErNYIO7Vuox1A6vA="; }; propagatedBuildInputs = [ six random2 ]; meta = with lib; { description = "Generates Solitaire deals"; homepage = "https://github.com/shlomif/pysol_cards"; license = licenses.mit; maintainers = with maintainers; [ mwolfe ]; }; } </ins>

buildPythonApplication rec { pname = "PySolFC"; <del> version = "2.6.4"; </del> <ins> version = "2.16.0"; </ins> src = fetchzip { url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC/PySolFC-${version}/PySolFC-${version}.tar.xz"; <del> sha256 = "1bd84law5b1yga3pryggdvlfvm0l62gci2q8y3q79cysdk3z4w3z"; </del> <ins> sha256 = "sha256-kklB16IrDicxqMee1kbxtoqgwcSrMjCV4HP6GtnZxo8="; </ins> }; cardsets = fetchzip { <del> url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC-Cardsets/PySolFC-Cardsets-2.0/PySolFC-Cardsets-2.0.tar.bz2"; sha256 = "0h0fibjv47j8lkc1bwnlbbvrx2nr3l2hzv717kcgagwhc7v2mrqh"; </del> <ins> url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC-Cardsets/PySolFC-Cardsets-2.1/PySolFC-Cardsets-2.1.tar.bz2"; sha256 = "sha256-0ji6jY7zJFaaaJdInaULKUou+u934RMzYjxVDGVHbE0="; </ins> }; propagatedBuildInputs = with python3Packages; [ <del> tkinter six random2 </del> <ins> tkinter six random2 configobj pysol-cards attrs pycotap </ins> # optional : pygame freecell-solver pillow ];

pycosat = callPackage ../development/python-modules/pycosat { }; <ins> pycotap = callPackage ../development/python-modules/pycotap { }; </ins> pycountry = callPackage ../development/python-modules/pycountry { }; pycparser = callPackage ../development/python-modules/pycparser { };

pysocks = callPackage ../development/python-modules/pysocks { }; <ins> pysol-cards = callPackage ../development/python-modules/pysol-cards { }; </ins> pysolr = callPackage ../development/python-modules/pysolr { }; pysoma = callPackage ../development/python-modules/pysoma { };