blob: 1ee0970ffad2305b7713f696ee2f01b15a9ea1fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ stdenv, fetchFromGitHub, perl, cmake, ninja, vala_0_40, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }:
stdenv.mkDerivation rec {
name = "granite-${version}";
version = "5.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "granite";
rev = version;
sha256 = "1v1yhz6rp616xi417m9r8072s6mpz5i8vkdyj264b73p0lgjwh40";
};
cmakeFlags = [
"-DINTROSPECTION_GIRDIR=share/gir-1.0/"
"-DINTROSPECTION_TYPELIBDIR=lib/girepository-1.0"
];
nativeBuildInputs = [
cmake
gettext
gobjectIntrospection
ninja
perl
pkgconfig
vala_0_40
];
buildInputs = [
glib
gnome3.libgee
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;
maintainers = with maintainers; [ vozz worldofpeace ];
};
}
|