mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{ 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 ];
|
|
};
|
|
}
|