diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-08-20 16:31:18 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-01-24 20:54:14 +0000 |
commit | 78da8d668b51b10d12285483a661307e1d3052eb (patch) | |
tree | f24edb95d698d3c240dd1359a0957ec776b94912 /pkgs/desktops/pantheon/desktop/gala/default.nix | |
parent | 2530372351fb7c65df1e209356c5eabf5a66fa9e (diff) | |
download | nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.gz nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.bz2 nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.lz nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.xz nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.zst nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.zip |
pantheon: init a 5.0
Diffstat (limited to 'pkgs/desktops/pantheon/desktop/gala/default.nix')
-rw-r--r-- | pkgs/desktops/pantheon/desktop/gala/default.nix | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/desktop/gala/default.nix b/pkgs/desktops/pantheon/desktop/gala/default.nix new file mode 100644 index 00000000000..97acc2c791b --- /dev/null +++ b/pkgs/desktops/pantheon/desktop/gala/default.nix @@ -0,0 +1,66 @@ +{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, vala +, desktop-file-utils, gettext, libxml2, gtk3, granite, libgee, bamf, libcanberra +, libcanberra-gtk3, gnome-desktop, mutter, clutter, plank, gobject-introspection +, elementary-icon-theme, elementary-settings-daemon, wrapGAppsHook }: + +stdenv.mkDerivation rec { + pname = "gala"; + version = "unstable-2018-12-16"; + + src = fetchFromGitHub { + owner = "elementary"; + repo = pname; + rev = "7f1e392e03000df0bd47e7832bb3adab81f39ae5"; + sha256 = "1syqq0xfyg5nbnnmy0wp5d66k1bvq9qn27lvr37abxxqig9acpc8"; + }; + + passthru = { + updateScript = pantheon.updateScript { + repoName = pname; + versionPolicy = "master"; + }; + }; + + nativeBuildInputs = [ + desktop-file-utils + gettext + gobject-introspection + libxml2 + meson + ninja + pkgconfig + python3 + vala + wrapGAppsHook + ]; + + buildInputs = [ + bamf + clutter + elementary-icon-theme + gnome-desktop + elementary-settings-daemon + granite + gtk3 + libcanberra + libcanberra-gtk3 + libgee + mutter + plank + ]; + + patches = [ ./plugins-dir.patch ]; + + postPatch = '' + chmod +x build-aux/meson/post_install.py + patchShebangs build-aux/meson/post_install.py + ''; + + meta = with stdenv.lib; { + description = "A window & compositing manager based on mutter and designed by elementary for use with Pantheon"; + homepage = https://github.com/elementary/gala; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = pantheon.maintainers; + }; +} |