16 stdenv.mkDerivation (finalAttrs: {
21 url = "mirror://sourceforge/chessx/chessx-${finalAttrs.version}.tgz";
22 hash = "sha256-76YOe1WpB+vdEoEKGTHeaWJLpCVE4RoyYu1WLy3Dxhg=";
40 # needed to backport patches to successfully build, due to broken release
42 repo = "https://github.com/Isarhamster/chessx/";
46 url = "${repo}/commit/9797d46aa28804282bd58ce139b22492ab6881e6.diff";
47 hash = "sha256-RnIf6bixvAvyp1CKuri5LhgYFqhDNiAVYWUmSUDMgVw=";
50 url = "${repo}/commit/4fab4d2f649d1cae2b54464c4e28337d1f20c214.diff";
51 hash = "sha256-EJVHricN+6uabKLfn77t8c7JjO7tMmZGsj7ZyQUGcXA=";
55 enableParallelBuilding = true;
60 install -Dm555 release/chessx -t "$out/bin"
61 install -Dm444 unix/chessx.desktop -t "$out/share/applications"
67 homepage = "https://chessx.sourceforge.io/";
68 description = "Browse and analyse chess games";
69 license = licenses.gpl2Plus;
70 maintainers = with maintainers; [ luispedro ];
71 platforms = platforms.linux;
72 mainProgram = "chessx";