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