Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+61
+1
lib/maintainers.nix
··· 138 138 viric = "Lluís Batlle i Rossell <viric@viric.name>"; 139 139 vizanto = "Danny Wilson <danny@prime.vc>"; 140 140 vlstill = "Vladimír Štill <xstill@fi.muni.cz>"; 141 + vozz = "Oliver Hunt <oliver.huntuk@gmail.com>"; 141 142 winden = "Antonio Vargas Gonzalez <windenntw@gmail.com>"; 142 143 wizeman = "Ricardo M. Correia <rcorreia@wizy.org>"; 143 144 wjlroe = "William Roe <willroe@gmail.com>";
+32
pkgs/desktops/pantheon/apps/pantheon-terminal/default.nix
··· 1 + { stdenv, fetchurl, perl, cmake, vala, pkgconfig, glib, gtk3, granite, gnome3, libnotify, gettext, makeWrapper }: 2 + 3 + stdenv.mkDerivation rec { 4 + majorVersion = "0.3"; 5 + minorVersion = "0.1"; 6 + name = "pantheon-terminal-${majorVersion}.${minorVersion}"; 7 + src = fetchurl { 8 + url = "https://launchpad.net/pantheon-terminal/${majorVersion}.x/${majorVersion}.${minorVersion}/+download/${name}.tgz"; 9 + sha256 = "14wspqxp79myyyjngr1x7jg1kw15g3nm2pav2zffp8xs16s1i5za"; 10 + }; 11 + 12 + preConfigure = '' 13 + export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${granite}/lib64/pkgconfig" 14 + ''; 15 + 16 + preFixup = '' 17 + for f in $out/bin/*; do 18 + wrapProgram $f \ 19 + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share" 20 + done 21 + ''; 22 + 23 + buildInputs = [perl cmake vala pkgconfig glib gtk3 granite gnome3.vte gnome3.libgee libnotify gettext makeWrapper]; 24 + meta = { 25 + description = "elementary OS's terminal"; 26 + 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."; 27 + homepage = https://launchpad.net/pantheon-terminal; 28 + license = stdenv.lib.licenses.gpl3; 29 + platforms = stdenv.lib.platforms.linux; 30 + maintainers = [ stdenv.lib.maintainers.vozz ]; 31 + }; 32 + }
+21
pkgs/development/libraries/granite/default.nix
··· 1 + { stdenv, fetchurl, perl, cmake, vala, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }: 2 + 3 + stdenv.mkDerivation rec { 4 + majorVersion = "0.3"; 5 + minorVersion = "0"; 6 + name = "granite-${majorVersion}.${minorVersion}"; 7 + src = fetchurl { 8 + url = "https://code.launchpad.net/granite/${majorVersion}/${majorVersion}/+download/${name}.tar.gz"; 9 + sha256 = "1laa109dz7kbd8zxddqw2p1b67yzva7cc5h3smqkj8a9jzbhv5fz"; 10 + }; 11 + cmakeFlags = "-DINTROSPECTION_GIRDIR=share/gir-1.0/ -DINTROSPECTION_TYPELIBDIR=lib/girepository-1.0"; 12 + buildInputs = [perl cmake vala pkgconfig gobjectIntrospection glib gtk3 gnome3.libgee gettext]; 13 + meta = { 14 + description = "An extension to GTK+ used by elementary OS"; 15 + longDescription = "An extension to GTK+ that provides several useful widgets and classes to ease application development. Designed for elementary OS."; 16 + homepage = https://launchpad.net/granite; 17 + license = stdenv.lib.licenses.lgpl3; 18 + platforms = stdenv.lib.platforms.linux; 19 + maintainers = [ stdenv.lib.maintainers.vozz ]; 20 + }; 21 + }
+7
pkgs/top-level/all-packages.nix
··· 5204 5204 else stdenv; 5205 5205 }; 5206 5206 5207 + granite = callPackage ../development/libraries/granite { }; 5208 + 5207 5209 gtk2 = callPackage ../development/libraries/gtk+/2.x.nix { 5208 5210 cupsSupport = config.gtk2.cups or stdenv.isLinux; 5209 5211 }; ··· 11398 11400 11399 11401 kwooty = callPackage ../applications/networking/newsreaders/kwooty { }; 11400 11402 }; 11403 + 11404 + pantheon = recurseIntoAttrs rec { 11405 + callPackage = newScope pkgs.pantheon; 11406 + pantheon-terminal = callPackage ../desktops/pantheon/apps/pantheon-terminal { }; 11407 + }; 11401 11408 11402 11409 redshift = callPackage ../applications/misc/redshift { 11403 11410 inherit (xorg) libX11 libXrandr libxcb randrproto libXxf86vm