mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
68927918d0
The indentation stripping semantics of strings are fairly bad and have a few gotchas where the resulting string has not the intended indentation. This commit fixes most if not all such instances in Nixpkgs. I tried to strive a balance between keeping the diff small and reformatting/refactoring the code to look better. In general, reformatting should be left to Nixfmt. Note that this causes a lot of rebuilds by design. All changes need to be thoroughly vetted and reviewed for correctness. There is no automatic way to prove correctness. List of files to fix generated by running https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the warnings.
30 lines
696 B
Nix
30 lines
696 B
Nix
{ mkDerivation, lib
|
|
, libkdegames, extra-cmake-modules
|
|
, kdeclarative, knewstuff
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "picmi";
|
|
meta = with lib; {
|
|
homepage = "https://apps.kde.org/picmi/";
|
|
description = "Nonogram game";
|
|
mainProgram = "picmi";
|
|
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;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules
|
|
];
|
|
buildInputs = [
|
|
kdeclarative
|
|
knewstuff
|
|
libkdegames
|
|
];
|
|
}
|