nixpkgs/pkgs/applications/kde/picmi.nix

38 lines
1.0 KiB
Nix
Raw Normal View History

2021-12-18 06:36:13 +03:00
{ mkDerivation, lib, fetchpatch
2020-07-10 17:42:39 +03:00
, libkdegames, extra-cmake-modules
, kdeclarative, knewstuff
}:
mkDerivation {
2020-12-25 02:05:07 +03:00
pname = "picmi";
2020-07-11 17:48:09 +03:00
meta = with lib; {
homepage = "https://apps.kde.org/picmi/";
2020-07-11 17:48:09 +03:00
description = "Nonogram game";
longDescription = ''The goal is to reveal the hidden pattern in the board by coloring or
leaving blank the cells in a grid according to numbers given at the side of the grid.
'';
maintainers = with maintainers; [ freezeboy ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
2021-12-18 06:36:13 +03:00
patches = [
# fix compile error due to usage of deprecated things
# probably can be removed with the next kde bump
(fetchpatch {
url = "https://invent.kde.org/games/picmi/-/commit/99639fb499fe35eb463621efca1c0e4ff2a52bad.patch";
revert = true;
sha256 = "sha256-rRhTvUB1Hpc3bLv9b5yIf/G7uJy2/OgBfXToZwV4jrg=";
})
];
2020-07-10 17:42:39 +03:00
nativeBuildInputs = [
extra-cmake-modules
];
buildInputs = [
kdeclarative
knewstuff
libkdegames
];
}