diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-23 15:26:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 15:26:25 +0200 |
commit | 9c5cc97cf3cd6f2d76e377d4a2789565f4d44156 (patch) | |
tree | 37d01f6f9982585fb019fec45be5e6809db1e3e7 /pkgs/games | |
parent | ea64c2f6fd5dd25b0f98eb0af85151126ce22557 (diff) | |
parent | 76db02360aefa00e8cc85df788b8a25ec23dc45e (diff) | |
download | nixpkgs-9c5cc97cf3cd6f2d76e377d4a2789565f4d44156.tar nixpkgs-9c5cc97cf3cd6f2d76e377d4a2789565f4d44156.tar.gz nixpkgs-9c5cc97cf3cd6f2d76e377d4a2789565f4d44156.tar.bz2 nixpkgs-9c5cc97cf3cd6f2d76e377d4a2789565f4d44156.tar.lz nixpkgs-9c5cc97cf3cd6f2d76e377d4a2789565f4d44156.tar.xz nixpkgs-9c5cc97cf3cd6f2d76e377d4a2789565f4d44156.tar.zst nixpkgs-9c5cc97cf3cd6f2d76e377d4a2789565f4d44156.zip |
Merge pull request #122625 from fgaz/gnonograms/init
gnonograms: init at 1.4.5
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/gnonograms/default.nix | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/pkgs/games/gnonograms/default.nix b/pkgs/games/gnonograms/default.nix new file mode 100644 index 00000000000..7a696001a15 --- /dev/null +++ b/pkgs/games/gnonograms/default.nix @@ -0,0 +1,64 @@ +{ lib +, stdenv +, fetchFromGitHub +, vala +, meson +, ninja +, pkg-config +, desktop-file-utils +, appstream +, python3 +, shared-mime-info +, wrapGAppsHook +, gtk3 +, pantheon +, libgee +}: + +stdenv.mkDerivation rec { + pname = "gnonograms"; + version = "1.4.5"; + + src = fetchFromGitHub { + owner = "jeremypw"; + repo = "gnonograms"; + rev = "v${version}"; + sha256 = "1ly3inp6dvjrixdysz5hdfwlhbs49ks0lf8062z2iq6gaf8ivkb2"; + }; + + postPatch = '' + patchShebangs meson/post_install.py + ''; + + nativeBuildInputs = [ + vala + meson + ninja + pkg-config + desktop-file-utils + appstream + python3 + shared-mime-info + wrapGAppsHook + ]; + + buildInputs = [ + gtk3 + pantheon.granite + libgee + ]; + + meta = with lib; { + description = "Nonograms puzzle game"; + longDescription = '' + An implementation of the Japanese logic puzzle "Nonograms" written in + Vala, allowing the user to: + * Draw puzzles + * Generate random puzzles of chosen difficulty + ''; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ fgaz ]; + homepage = "https://github.com/jeremypw/gnonograms"; + platforms = platforms.all; + }; +} |