gnome3.atomix: init at 3.29.3
This commit is contained in:
parent
6e7b11dbb6
commit
5d62b6698a
|
@ -34,7 +34,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||||
];
|
];
|
||||||
|
|
||||||
gamesPackages = with gnome3; [ swell-foop lightsoff iagno
|
gamesPackages = with gnome3; [ swell-foop lightsoff iagno
|
||||||
tali quadrapassel gnome-sudoku aisleriot five-or-more
|
tali quadrapassel gnome-sudoku atomix aisleriot five-or-more
|
||||||
four-in-a-row gnome-chess gnome-klotski gnome-mahjongg
|
four-in-a-row gnome-chess gnome-klotski gnome-mahjongg
|
||||||
gnome-mines gnome-nibbles gnome-robots gnome-tetravex
|
gnome-mines gnome-nibbles gnome-robots gnome-tetravex
|
||||||
hitori gnome-taquin
|
hitori gnome-taquin
|
||||||
|
@ -319,6 +319,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||||
|
|
||||||
aisleriot = callPackage ./games/aisleriot { };
|
aisleriot = callPackage ./games/aisleriot { };
|
||||||
|
|
||||||
|
atomix = callPackage ./games/atomix { };
|
||||||
|
|
||||||
five-or-more = callPackage ./games/five-or-more { };
|
five-or-more = callPackage ./games/five-or-more { };
|
||||||
|
|
||||||
four-in-a-row = callPackage ./games/four-in-a-row { };
|
four-in-a-row = callPackage ./games/four-in-a-row { };
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook
|
||||||
|
, gettext, gnome3, glib, gtk3, libgnome-games-support, gdk_pixbuf }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "atomix";
|
||||||
|
version = "3.29.3";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
|
sha256 = "1k8bvwywpvw5f13pw40brk6c3rz2mdz9cd4zhcawg7qdm77dvcvb";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook ];
|
||||||
|
buildInputs = [ glib gtk3 gdk_pixbuf libgnome-games-support gnome3.defaultIconTheme ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
chmod +x meson_post_install.py
|
||||||
|
patchShebangs meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Puzzle game where you move atoms to build a molecule";
|
||||||
|
homepage = https://wiki.gnome.org/Apps/Atomix;
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = gnome3.maintainers;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue