nixpkgs/pkgs/development/libraries/granite/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2018-08-16 10:48:39 +00:00
{ stdenv, fetchFromGitHub, perl, cmake, ninja, vala_0_40, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }:
stdenv.mkDerivation rec {
name = "granite-${version}";
2018-08-27 22:15:19 +00:00
version = "5.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "granite";
rev = version;
2018-08-27 22:15:19 +00:00
sha256 = "1v1yhz6rp616xi417m9r8072s6mpz5i8vkdyj264b73p0lgjwh40";
};
cmakeFlags = [
"-DINTROSPECTION_GIRDIR=share/gir-1.0/"
"-DINTROSPECTION_TYPELIBDIR=lib/girepository-1.0"
];
nativeBuildInputs = [
cmake
gettext
gobjectIntrospection
2018-08-16 10:48:39 +00:00
ninja
perl
pkgconfig
vala_0_40
];
buildInputs = [
glib
gnome3.libgee
2018-08-16 10:48:39 +00:00
gtk3
];
meta = with stdenv.lib; {
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://github.com/elementary/granite;
license = licenses.lgpl3;
platforms = platforms.linux;
2018-08-16 10:48:39 +00:00
maintainers = with maintainers; [ vozz worldofpeace ];
};
}