nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 gettext,
6 meson,
7 ninja,
8 pkg-config,
9 libxfce4util,
10 xfce4-panel,
11 libxfce4ui,
12 glib,
13 gtk3,
14 gitUpdater,
15}:
16
17stdenv.mkDerivation (finalAttrs: {
18 pname = "xfce4-eyes-plugin";
19 version = "4.7.0";
20
21 src = fetchurl {
22 url = "mirror://xfce/src/panel-plugins/xfce4-eyes-plugin/${lib.versions.majorMinor finalAttrs.version}/xfce4-eyes-plugin-${finalAttrs.version}.tar.xz";
23 hash = "sha256-h/m5eMp1q7OqXtsTFetl75hlSmYsFGIYR93/6KpldK0=";
24 };
25
26 strictDeps = true;
27
28 nativeBuildInputs = [
29 gettext
30 meson
31 ninja
32 pkg-config
33 ];
34
35 buildInputs = [
36 libxfce4util
37 libxfce4ui
38 xfce4-panel
39 glib
40 gtk3
41 ];
42
43 passthru.updateScript = gitUpdater {
44 url = "https://gitlab.xfce.org/panel-plugins/xfce4-eyes-plugin";
45 rev-prefix = "xfce4-eyes-plugin-";
46 };
47
48 meta = {
49 homepage = "https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin";
50 description = "Rolling eyes (following mouse pointer) plugin for the Xfce panel";
51 license = lib.licenses.gpl2Plus;
52 platforms = lib.platforms.linux;
53 teams = [ lib.teams.xfce ];
54 };
55})