Merge pull request #169588 from bobby285271/gnome-builder

gnome-builder: 42.0 → 42.1
This commit is contained in:
Bobby Rong 2022-04-23 19:25:03 +08:00 committed by GitHub
commit d34a472735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@
, appstream-glib
, desktop-file-utils
, fetchurl
, fetchpatch
, flatpak
, gnome
, libgit2-glib
@ -41,23 +40,15 @@
stdenv.mkDerivation rec {
pname = "gnome-builder";
version = "42.0";
version = "42.1";
outputs = [ "out" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "Uu/SltaLL/GCNBwEgdz9cGVMQIvbZ5/Ot225cDwiQo8=";
sha256 = "XU1RtwKGW0gBcgHwxgfiSifXIDGo9ciNT86HW1VFZwo=";
};
patches = [
# Fix appstream validation
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/d7151679e0c925d27216256dc32fe67fb298d059.patch";
sha256 = "vdNJawkqSBaFGRZvxzvjOryQpBL4jcN7tr1t3ihD7LA=";
})
];
nativeBuildInputs = [
appstream-glib
desktop-file-utils
@ -115,8 +106,6 @@ stdenv.mkDerivation rec {
"-Dnetwork_tests=false"
];
# Some tests fail due to being unable to find the Vte typelib, and I don't
# understand why. Somebody should look into fixing this.
doCheck = true;
postPatch = ''