You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
3 years ago
|
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, wrapGAppsHook, python3
|
||
3 years ago
|
, gettext, gnome, glib, gtk3, libgnome-games-support, gdk-pixbuf }:
|
||
6 years ago
|
|
||
|
let
|
||
|
pname = "atomix";
|
||
5 years ago
|
version = "3.34.0";
|
||
6 years ago
|
in stdenv.mkDerivation rec {
|
||
|
name = "${pname}-${version}";
|
||
|
|
||
|
src = fetchurl {
|
||
3 years ago
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||
5 years ago
|
sha256 = "0h909a4mccf160hi0aimyicqhq2b0gk1dmqp7qwf87qghfrw6m00";
|
||
6 years ago
|
};
|
||
|
|
||
3 years ago
|
nativeBuildInputs = [ meson ninja pkg-config gettext wrapGAppsHook python3 ];
|
||
3 years ago
|
buildInputs = [ glib gtk3 gdk-pixbuf libgnome-games-support gnome.adwaita-icon-theme ];
|
||
6 years ago
|
|
||
|
postPatch = ''
|
||
|
chmod +x meson_post_install.py
|
||
|
patchShebangs meson_post_install.py
|
||
|
'';
|
||
|
|
||
|
passthru = {
|
||
3 years ago
|
updateScript = gnome.updateScript {
|
||
6 years ago
|
packageName = pname;
|
||
3 years ago
|
attrPath = "gnome.${pname}";
|
||
6 years ago
|
};
|
||
|
};
|
||
|
|
||
3 years ago
|
meta = with lib; {
|
||
6 years ago
|
description = "Puzzle game where you move atoms to build a molecule";
|
||
4 years ago
|
homepage = "https://wiki.gnome.org/Apps/Atomix";
|
||
6 years ago
|
license = licenses.gpl2Plus;
|
||
4 years ago
|
maintainers = teams.gnome.members;
|
||
6 years ago
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|