granite: 0.4.1 -> 0.5
Upstream has moved to GitHub, as the elementary.io page [1] now links to the GitHub repository. The only current dependant derivation is Pantheon Terminal (pantheon.pantheon-terminal), which continues to work. [1]: https://elementary.io/open-source
This commit is contained in:
parent
c70c9649ea
commit
0f15b33912
|
@ -1,20 +1,24 @@
|
|||
{ stdenv, fetchurl, perl, cmake, vala, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }:
|
||||
{ stdenv, fetchFromGitHub, perl, cmake, vala, pkgconfig, gobjectIntrospection, glib, gtk3, gnome3, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
majorVersion = "0.4";
|
||||
minorVersion = "1";
|
||||
name = "granite-${majorVersion}.${minorVersion}";
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/granite/${majorVersion}/${majorVersion}.${minorVersion}/+download/${name}.tar.xz";
|
||||
sha256 = "177h5h1q4qd7g99mzbczvz78j8c9jf4f1gwdj9f6imbc7r913d4b";
|
||||
name = "granite-${version}";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = "granite";
|
||||
rev = version;
|
||||
sha256 = "15l8z1jkqhvappnr8jww27lfy3dwqybgsxk5iccyvnvzpjdh2s0h";
|
||||
};
|
||||
|
||||
cmakeFlags = "-DINTROSPECTION_GIRDIR=share/gir-1.0/ -DINTROSPECTION_TYPELIBDIR=lib/girepository-1.0";
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [perl cmake vala gobjectIntrospection glib gtk3 gnome3.libgee gettext];
|
||||
|
||||
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;
|
||||
homepage = https://github.com/elementary/granite;
|
||||
license = stdenv.lib.licenses.lgpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.vozz ];
|
||||
|
|
Loading…
Reference in New Issue