Unverified Commit 9823494b authored by seth's avatar seth
Browse files

commit: 4.1 -> 4.2

parent 9d4343b7
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  appstream-glib,
  appstream,
  blueprint-compiler,
  desktop-file-utils,
  fetchFromGitHub,
  gjs,
  glib,
  gtk4,
  gtksourceview5,
  libadwaita,
  libspelling,
  meson,
  ninja,
  nix-update-script,
  pkg-config,
  wrapGAppsHook4,
  nix-update-script,
}:

stdenv.mkDerivation rec {
  pname = "commit";
  version = "4.1";
  version = "4.2";

  src = fetchFromGitHub {
    owner = "sonnyp";
    repo = "Commit";
    rev = "v${version}";
    hash = "sha256-HhyoQ4wrc8dHvVU+MylJgaKu9HwSw+/f6UDTIM2YRNk=";
    rev = "refs/tags/v${version}";
    hash = "sha256-L8CI8SAGWhhJyTc8aMPV0s+UevEJGE7n1l7fFnTjdPw=";
    fetchSubmodules = true;
  };

@@ -44,9 +47,11 @@ stdenv.mkDerivation rec {
  '';

  nativeBuildInputs = [
    appstream-glib
    appstream
    blueprint-compiler
    desktop-file-utils
    desktop-file-utils # for `desktop-file-validate` & `update-desktop-database`
    glib # for `glib-compile-schemas`
    gtk4 # for `gtk-update-icon-cache`
    meson
    ninja
    pkg-config
@@ -54,10 +59,10 @@ stdenv.mkDerivation rec {
  ];

  buildInputs = [
    gjs
    gtksourceview5
    libadwaita
    libspelling
    gtksourceview5
    gjs
  ];

  passthru = {