2017-03-13 10:20:41 +00:00
|
|
|
{ stdenv, fetchurl, perl, cmake, vala, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }:
|
2014-10-08 17:18:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-13 10:20:41 +00:00
|
|
|
majorVersion = "0.4";
|
2017-09-28 18:38:09 +01:00
|
|
|
minorVersion = "1";
|
2014-10-08 17:18:37 +01:00
|
|
|
name = "granite-${majorVersion}.${minorVersion}";
|
|
|
|
src = fetchurl {
|
2017-03-13 10:20:41 +00:00
|
|
|
url = "https://launchpad.net/granite/${majorVersion}/${majorVersion}.${minorVersion}/+download/${name}.tar.xz";
|
2017-09-28 18:38:09 +01:00
|
|
|
sha256 = "177h5h1q4qd7g99mzbczvz78j8c9jf4f1gwdj9f6imbc7r913d4b";
|
2014-10-08 17:18:37 +01:00
|
|
|
};
|
|
|
|
cmakeFlags = "-DINTROSPECTION_GIRDIR=share/gir-1.0/ -DINTROSPECTION_TYPELIBDIR=lib/girepository-1.0";
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [perl cmake vala gobjectIntrospection glib gtk3 gnome3.libgee gettext];
|
2014-10-08 17:18:37 +01:00
|
|
|
meta = {
|
|
|
|
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.";
|
|
|
|
homepage = https://launchpad.net/granite;
|
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vozz ];
|
|
|
|
};
|
|
|
|
}
|