nixpkgs/pkgs/applications/kde/picmi.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.0 KiB
Nix
Raw Normal View History

2021-12-18 03:36:13 +00:00
{ mkDerivation, lib, fetchpatch
2020-07-10 15:42:39 +01:00
, libkdegames, extra-cmake-modules
, kdeclarative, knewstuff
}:
mkDerivation {
2020-12-24 23:05:07 +00:00
pname = "picmi";
2020-07-11 15:48:09 +01:00
meta = with lib; {
homepage = "https://apps.kde.org/picmi/";
2020-07-11 15:48:09 +01: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 03:36:13 +00: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 15:42:39 +01:00
nativeBuildInputs = [
extra-cmake-modules
];
buildInputs = [
kdeclarative
knewstuff
libkdegames
];
}