diff options
author | Oliver Hunt <oliver.huntuk@gmail.com> | 2014-10-08 18:18:37 +0200 |
---|---|---|
committer | Oliver Hunt <oliver.huntuk@gmail.com> | 2014-10-09 01:55:27 +0200 |
commit | 6f64a7cf43c802b16a736fc705d8efeca2719a75 (patch) | |
tree | dc2fab29c490d20da05ec3f13f133a035c452531 /pkgs/desktops/pantheon | |
parent | 8441d45055f5479caa41b5db6aec6512f7b9bcb2 (diff) |
Added granite
Added meta details, changed hash to sha256, and added versions for granite Changed name to use versions Fixed license Yet another typo fix Added myself as maintainer and fixed typo Fixed maintainers Added pantheon terminal woops
Diffstat (limited to 'pkgs/desktops/pantheon')
-rw-r--r-- | pkgs/desktops/pantheon/apps/pantheon-terminal/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/pantheon-terminal/default.nix b/pkgs/desktops/pantheon/apps/pantheon-terminal/default.nix new file mode 100644 index 0000000000000..7506ece43dc18 --- /dev/null +++ b/pkgs/desktops/pantheon/apps/pantheon-terminal/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, perl, cmake, vala, pkgconfig, glib, gtk3, granite, gnome3, libnotify, gettext, makeWrapper }: + +stdenv.mkDerivation rec { + majorVersion = "0.3"; + minorVersion = "0.1"; + name = "pantheon-terminal-${majorVersion}.${minorVersion}"; + src = fetchurl { + url = "https://launchpad.net/pantheon-terminal/${majorVersion}.x/${majorVersion}.${minorVersion}/+download/${name}.tgz"; + sha256 = "14wspqxp79myyyjngr1x7jg1kw15g3nm2pav2zffp8xs16s1i5za"; + }; + + preConfigure = '' + export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${granite}/lib64/pkgconfig" + ''; + + preFixup = '' + for f in $out/bin/*; do + wrapProgram $f \ + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share" + done + ''; + + buildInputs = [perl cmake vala pkgconfig glib gtk3 granite gnome3.vte gnome3.libgee libnotify gettext makeWrapper]; + meta = { + description = "elementary OS's terminal"; + longDescription = "A super lightweight, beautiful, and simple terminal. It's designed to be setup with sane defaults and little to no configuration. It's just a terminal, nothing more, nothing less. Designed for elementary OS."; + homepage = https://launchpad.net/pantheon-terminal; + license = stdenv.lib.licenses.gpl3; + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.vozz ]; + }; +} |