xfce.xfce4-notes-plugin: Generate C code with newer Vala (#359006)

This commit is contained in:
Bobby Rong 2024-11-28 08:33:06 +08:00 committed by GitHub
commit ad34a33ee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,31 +1,24 @@
{ lib {
, stdenv mkXfceDerivation,
, fetchurl lib,
, pkg-config vala,
, intltool glib,
, glib gtk3,
, gtk3 libxfce4ui,
, libxfce4ui libxfce4util,
, libxfce4util xfce4-panel,
, xfce4-panel xfconf,
, xfconf
, gitUpdater
}: }:
let mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
in stdenv.mkDerivation rec { pname = "xfce4-notes-plugin";
pname = "xfce4-notes-plugin";
version = "1.11.0"; version = "1.11.0";
sha256 = "sha256-hAGgJIZaUjrizuriW2yX4uOKqRxpZ6BiUhnj4u3BOBA=";
src = fetchurl { odd-unstable = false;
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-6zgkbesPyJU1+p/5uVPHYs7OIytVhdghD6uau/KCquM=";
};
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config vala
intltool
]; ];
buildInputs = [ buildInputs = [
@ -37,11 +30,6 @@ in stdenv.mkDerivation rec {
xfconf xfconf
]; ];
passthru.updateScript = gitUpdater {
url = "https://gitlab.xfce.org/panel-plugins/${pname}";
rev-prefix = "${pname}-";
};
meta = with lib; { meta = with lib; {
homepage = "https://docs.xfce.org/panel-plugins/xfce4-notes-plugin"; homepage = "https://docs.xfce.org/panel-plugins/xfce4-notes-plugin";
description = "Sticky notes plugin for Xfce panel"; description = "Sticky notes plugin for Xfce panel";