summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/games/hitori/default.nix
blob: db01eb86f1732684556efe9364ff729d91355b0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, libxml2, intltool, itstool }:

stdenv.mkDerivation rec {
  name = "hitori-${version}";
  version = "3.22.4";

  src = fetchurl {
    url = "mirror://gnome/sources/hitori/${gnome3.versionBranch version}/${name}.tar.xz";
    sha256 = "dcac6909b6007857ee425ac8c65fed179f2c71da138d5e5300cd62c8b9ea15d3";
  };

  passthru = {
    updateScript = gnome3.updateScript { packageName = "hitori"; attrPath = "gnome3.hitori"; };
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [
    gtk3 wrapGAppsHook intltool itstool libxml2
    gnome3.defaultIconTheme
  ];

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Apps/Hitori;
    description = "GTK+ application to generate and let you play games of Hitori";
    maintainers = gnome3.maintainers;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}