Skip to content

Commit ad34a33

Browse files
authored
xfce.xfce4-notes-plugin: Generate C code with newer Vala (#359006)
2 parents 5d8070e + 57975ac commit ad34a33

File tree

1 file changed

+15
-27
lines changed
  • pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin

1 file changed

+15
-27
lines changed

pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
1-
{ lib
2-
, stdenv
3-
, fetchurl
4-
, pkg-config
5-
, intltool
6-
, glib
7-
, gtk3
8-
, libxfce4ui
9-
, libxfce4util
10-
, xfce4-panel
11-
, xfconf
12-
, gitUpdater
1+
{
2+
mkXfceDerivation,
3+
lib,
4+
vala,
5+
glib,
6+
gtk3,
7+
libxfce4ui,
8+
libxfce4util,
9+
xfce4-panel,
10+
xfconf,
1311
}:
1412

15-
let
13+
mkXfceDerivation {
1614
category = "panel-plugins";
17-
in stdenv.mkDerivation rec {
18-
pname = "xfce4-notes-plugin";
15+
pname = "xfce4-notes-plugin";
1916
version = "1.11.0";
20-
21-
src = fetchurl {
22-
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
23-
sha256 = "sha256-6zgkbesPyJU1+p/5uVPHYs7OIytVhdghD6uau/KCquM=";
24-
};
17+
sha256 = "sha256-hAGgJIZaUjrizuriW2yX4uOKqRxpZ6BiUhnj4u3BOBA=";
18+
odd-unstable = false;
2519

2620
nativeBuildInputs = [
27-
pkg-config
28-
intltool
21+
vala
2922
];
3023

3124
buildInputs = [
@@ -37,11 +30,6 @@ in stdenv.mkDerivation rec {
3730
xfconf
3831
];
3932

40-
passthru.updateScript = gitUpdater {
41-
url = "https://gitlab.xfce.org/panel-plugins/${pname}";
42-
rev-prefix = "${pname}-";
43-
};
44-
4533
meta = with lib; {
4634
homepage = "https://docs.xfce.org/panel-plugins/xfce4-notes-plugin";
4735
description = "Sticky notes plugin for Xfce panel";

0 commit comments

Comments
 (0)