diff options
Diffstat (limited to 'pkgs/applications/editors/gnome-builder/default.nix')
-rw-r--r-- | pkgs/applications/editors/gnome-builder/default.nix | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix index e689f9ee7d069..9bcbbe32d1c1a 100644 --- a/pkgs/applications/editors/gnome-builder/default.nix +++ b/pkgs/applications/editors/gnome-builder/default.nix @@ -5,7 +5,6 @@ , desktop-file-utils , editorconfig-core-c , fetchurl -, fetchpatch , flatpak , gnome , libgit2-glib @@ -41,15 +40,15 @@ , xvfb-run }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "gnome-builder"; - version = "45.0"; + version = "46.2"; outputs = [ "out" "devdoc" ]; src = fetchurl { - url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "JC2gJZMpPUVuokEIpFk0cwoeMW2NxbGNnfDoZNt7pZY="; + url = "mirror://gnome/sources/gnome-builder/${lib.versions.major finalAttrs.version}/gnome-builder-${finalAttrs.version}.tar.xz"; + hash = "sha256-DIV7iQA7JHh/Kx0qrhLSdaB0xmhLSIA7SMACdtk3GWM="; }; patches = [ @@ -64,12 +63,6 @@ stdenv.mkDerivation rec { # # Typelib file for namespace 'Pango', version '1.0' not found (g-irepository-error-quark, 0) ./fix-finding-test-typelibs.patch - - (fetchpatch { - name = "redefinition-of-glib_autoptr_clear_GtkStackPage.patch"; - url = "https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/7aaaecefc2ea8a37eaeae8b4d726d119d4eb8fa3.patch"; - hash = "sha256-sYLqhwCd9GOkUMUZAO2trAGKC3013jgivHrNC4atdn0="; - }) ]; nativeBuildInputs = [ @@ -161,11 +154,11 @@ stdenv.mkDerivation rec { ''; passthru.updateScript = gnome.updateScript { - packageName = pname; + packageName = "gnome-builder"; }; meta = with lib; { - description = "An IDE for writing GNOME-based software"; + description = "IDE for writing GNOME-based software"; longDescription = '' Global search, auto-completion, source code map, documentation reference, and other features expected in an IDE, but with a focus @@ -182,4 +175,4 @@ stdenv.mkDerivation rec { platforms = platforms.linux; mainProgram = "gnome-builder"; }; -} +}) |