6 python3Packages.buildPythonApplication rec {
12 src = fetchFromGitHub {
16 sha256 = "1zxsxg49a02k7zidx3kgk2maa0vv0n1f9wrl5vch07sq3ghvpphx";
20 substituteInPlace lightyears \
22 "LIGHTYEARS_DIR = \".\"" \
23 "LIGHTYEARS_DIR = \"$out/share\""
26 propagatedBuildInputs = with python3Packages; [
31 python -O -m compileall .
36 cp -r data lib20k lightyears "$out/share"
37 install -Dm755 lightyears "$out/bin/lightyears"
41 description = "Steampunk-themed strategy game where you have to manage a steam supply network";
42 mainProgram = "lightyears";
43 homepage = "http://jwhitham.org.uk/20kly/";
44 license = licenses.gpl2Only;
45 maintainers = with maintainers; [ fgaz ];