Unverified Commit 6a3ce221 authored by Bobby Rong's avatar Bobby Rong
Browse files
parent 910eb26a
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
@@ -4,10 +4,14 @@
  fetchFromGitLab,
  gettext,
  gobject-introspection,
  meson,
  ninja,
  pkg-config,
  wrapGAppsHook3,
  glib,
  gtk3,
  libxfce4ui,
  libxfce4util,
  python3,
  gitUpdater,
}:
@@ -20,19 +24,22 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "xfce4-panel-profiles";
  version = "1.0.15";
  version = "1.1.1";

  src = fetchFromGitLab {
    domain = "gitlab.xfce.org";
    owner = "apps";
    repo = "xfce4-panel-profiles";
    rev = "xfce4-panel-profiles-${finalAttrs.version}";
    sha256 = "sha256-UxXxj0lxJhaMv5cQoyz+glJiLwvIFfpPu27TCNDhoL0=";
    hash = "sha256-4sUNlabWp6WpBlePVFHejq/+TXiJYSQTnZFp5B258Wc=";
  };

  nativeBuildInputs = [
    gettext
    gobject-introspection
    meson
    ninja
    pkg-config
    wrapGAppsHook3
  ];

@@ -40,15 +47,13 @@ stdenv.mkDerivation (finalAttrs: {
    glib
    gtk3
    libxfce4ui
    libxfce4util
    pythonEnv
  ];

  configurePhase = ''
    runHook preConfigure
    # This is just a handcrafted script and does not accept additional arguments.
    ./configure --prefix=$out
    runHook postConfigure
  '';
  mesonFlags = [
    "-Dpython-path=${lib.getExe pythonEnv}"
  ];

  passthru.updateScript = gitUpdater { rev-prefix = "xfce4-panel-profiles-"; };