granite: 5.1.0 -> 5.2.0

- Correct License to LGPLv3+
This commit is contained in:
worldofpeace 2018-11-02 12:44:05 -04:00
parent 5e5e57c572
commit 8cf1e97fcf

View File

@ -1,12 +1,14 @@
{ stdenv, fetchFromGitHub, perl, cmake, ninja, vala_0_40, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }: { stdenv, fetchFromGitHub, cmake, ninja, vala_0_40, pkgconfig, gobjectIntrospection, gnome3, gtk3, glib, gettext }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "granite-${version}"; pname = "granite";
version = "5.1.0"; version = "5.2.0";
name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = "granite"; repo = pname;
rev = version; rev = version;
sha256 = "1v1yhz6rp616xi417m9r8072s6mpz5i8vkdyj264b73p0lgjwh40"; sha256 = "1v1yhz6rp616xi417m9r8072s6mpz5i8vkdyj264b73p0lgjwh40";
}; };
@ -21,10 +23,10 @@ stdenv.mkDerivation rec {
gettext gettext
gobjectIntrospection gobjectIntrospection
ninja ninja
perl
pkgconfig pkgconfig
vala_0_40 vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
]; ];
buildInputs = [ buildInputs = [
glib glib
gnome3.libgee gnome3.libgee
@ -33,9 +35,12 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An extension to GTK+ used by elementary OS"; description = "An extension to GTK+ used by elementary OS";
longDescription = "An extension to GTK+ that provides several useful widgets and classes to ease application development. Designed for elementary OS."; longDescription = ''
Granite is a companion library for GTK+ and GLib. Among other things, it provides complex widgets and convenience functions
designed for use in apps built for elementary OS.
'';
homepage = https://github.com/elementary/granite; homepage = https://github.com/elementary/granite;
license = licenses.lgpl3; license = licenses.lgpl3Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ vozz worldofpeace ]; maintainers = with maintainers; [ vozz worldofpeace ];
}; };