mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
gtksourceview5: 5.2.0 → 5.3.2
https://gitlab.gnome.org/GNOME/gtksourceview/-/compare/5.2.0...5.3.2
This commit is contained in:
parent
3852b7117a
commit
8212afc323
@ -10,6 +10,7 @@
|
||||
, pango
|
||||
, fribidi
|
||||
, vala
|
||||
, gi-docgen
|
||||
, libxml2
|
||||
, perl
|
||||
, gettext
|
||||
@ -22,13 +23,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtksourceview";
|
||||
version = "5.2.0";
|
||||
version = "5.3.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "ybNPoCZU9WziL6CIJ9idtLqBYxsubX0x6mXRPHKUMOk=";
|
||||
sha256 = "r3c24u4828EBMJDoyvNfuJ1lz0HJw5nKxdiZLZVd7TA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -46,6 +47,7 @@ stdenv.mkDerivation rec {
|
||||
perl
|
||||
gobject-introspection
|
||||
vala
|
||||
gi-docgen
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -68,6 +70,10 @@ stdenv.mkDerivation rec {
|
||||
dbus
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
|
||||
doCheck = stdenv.isLinux;
|
||||
|
||||
checkPhase = ''
|
||||
@ -81,6 +87,11 @@ stdenv.mkDerivation rec {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||
moveToOutput "share/doc" "$devdoc"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "gtksourceview";
|
||||
|
Loading…
Reference in New Issue
Block a user