lol

libgit2-glib: 1.0.0.1 -> 1.1.0

https://gitlab.gnome.org/GNOME/libgit2-glib/-/compare/v1.0.0.1...v1.1.0

- Format the expression.
- Reorder the attributes to more conventional order.
- Build API docs.
- Split outputs.
- Correct license.

+46 -19
+46 -19
pkgs/development/libraries/libgit2-glib/default.nix
··· 1 - { lib, stdenv, fetchurl, gnome, meson, ninja, pkg-config, vala, libssh2 2 - , gtk-doc, gobject-introspection, libgit2, glib, python3 }: 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , gnome 5 + , meson 6 + , ninja 7 + , pkg-config 8 + , vala 9 + , libssh2 10 + , gtk-doc 11 + , gobject-introspection 12 + , gi-docgen 13 + , libgit2 14 + , glib 15 + , python3 16 + }: 3 17 4 18 stdenv.mkDerivation rec { 5 19 pname = "libgit2-glib"; 6 - version = "1.0.0.1"; 20 + version = "1.1.0"; 21 + 22 + outputs = [ "out" "dev" "devdoc" ]; 7 23 8 24 src = fetchurl { 9 25 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "RgpdaTaVDKCNLYUYv8kMErsYfPbmdN5xX3BV/FgQK1c="; 26 + sha256 = "w43XV12vgUHh5CIzOldfr2XzySEMCOg+mBuI3UG/HvM="; 11 27 }; 12 28 29 + nativeBuildInputs = [ 30 + meson 31 + ninja 32 + pkg-config 33 + vala 34 + gtk-doc 35 + gobject-introspection 36 + gi-docgen 37 + ]; 38 + 39 + propagatedBuildInputs = [ 40 + # Required by libgit2-glib-1.0.pc 41 + libgit2 42 + glib 43 + ]; 44 + 45 + buildInputs = [ 46 + libssh2 47 + python3.pkgs.pygobject3 # this should really be a propagated input of python output 48 + ]; 49 + 50 + mesonFlags = [ 51 + "-Dgtk_doc=true" 52 + ]; 53 + 13 54 postPatch = '' 14 55 for f in meson_vapi_link.py meson_python_compile.py; do 15 56 chmod +x $f ··· 24 65 }; 25 66 }; 26 67 27 - nativeBuildInputs = [ 28 - meson ninja pkg-config vala gtk-doc gobject-introspection 29 - ]; 30 - 31 - propagatedBuildInputs = [ 32 - # Required by libgit2-glib-1.0.pc 33 - libgit2 glib 34 - ]; 35 - 36 - buildInputs = [ 37 - libssh2 38 - python3.pkgs.pygobject3 # this should really be a propagated input of python output 39 - ]; 40 - 41 68 meta = with lib; { 42 69 description = "A glib wrapper library around the libgit2 git access library"; 43 70 homepage = "https://wiki.gnome.org/Projects/Libgit2-glib"; 44 - license = licenses.lgpl21; 71 + license = licenses.lgpl21Plus; 45 72 maintainers = teams.gnome.members; 46 73 platforms = platforms.linux; 47 74 };