libcroco: add updateScript
This commit is contained in:
parent
1dacd66a77
commit
7a0ee31dd9
@ -1,10 +1,12 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libxml2, glib, fetchpatch }:
|
{ stdenv, fetchurl, pkgconfig, libxml2, glib, fetchpatch, gnome3 }:
|
||||||
|
let
|
||||||
stdenv.mkDerivation rec {
|
pname = "libcroco";
|
||||||
name = "libcroco-0.6.12";
|
version = "0.6.12";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libcroco/0.6/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x";
|
sha256 = "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -29,6 +31,12 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libxml2 glib ];
|
buildInputs = [ libxml2 glib ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "GNOME CSS2 parsing and manipulation toolkit";
|
description = "GNOME CSS2 parsing and manipulation toolkit";
|
||||||
homepage = https://git.gnome.org/browse/libcroco;
|
homepage = https://git.gnome.org/browse/libcroco;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user