xfce.orage: do not use mkXfceDerivation
The source is archived and unavailable at the new Xfce git repository
This commit is contained in:
parent
9ef6317164
commit
e18817b4f4
@ -1,18 +1,23 @@
|
|||||||
{ lib, fetchpatch, mkXfceDerivation, dbus-glib, gtk2, libical, libnotify, tzdata
|
{ stdenv, fetchurl, fetchpatch, pkg-config, intltool, dbus-glib, gtk2, libical, libnotify, tzdata
|
||||||
, popt, libxfce4ui, xfce4-panel, withPanelPlugin ? true }:
|
, popt, libxfce4ui, xfce4-panel, withPanelPlugin ? true, wrapGAppsHook, xfce }:
|
||||||
|
|
||||||
assert withPanelPlugin -> libxfce4ui != null && xfce4-panel != null;
|
assert withPanelPlugin -> libxfce4ui != null && xfce4-panel != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) optionals;
|
inherit (stdenv.lib) optionals;
|
||||||
in
|
in
|
||||||
|
|
||||||
mkXfceDerivation {
|
stdenv.mkDerivation rec {
|
||||||
category = "archive";
|
|
||||||
pname = "orage";
|
pname = "orage";
|
||||||
version = "4.12.1";
|
version = "4.12.1";
|
||||||
|
|
||||||
sha256 = "04z6y1vfaz1im1zq1zr7cf8pjibjhj9zkyanbp7vn30q520yxa0m";
|
src = fetchurl {
|
||||||
|
url = "https://archive.xfce.org/src/apps/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
||||||
|
sha256 = "0qlhvnl2m33vfxqlbkic2nmfpwyd4mq230jzhs48cg78392amy9w";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ dbus-glib gtk2 libical libnotify popt ]
|
buildInputs = [ dbus-glib gtk2 libical libnotify popt ]
|
||||||
++ optionals withPanelPlugin [ libxfce4ui xfce4-panel ];
|
++ optionals withPanelPlugin [ libxfce4ui xfce4-panel ];
|
||||||
|
|
||||||
@ -33,7 +38,16 @@ mkXfceDerivation {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
passthru.updateScript = xfce.updateScript {
|
||||||
description = "A simple calendar application with reminders";
|
inherit pname version;
|
||||||
|
attrPath = "xfce.${pname}";
|
||||||
|
versionLister = xfce.archiveLister "apps" pname;
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Simple calendar application with reminders";
|
||||||
|
homepage = "https://git.xfce.org/archive/orage/";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user