2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-08-05 19:02:06 +01:00
|
|
|
, fetchFromGitHub
|
2020-07-29 17:33:39 +01:00
|
|
|
, nix-update-script
|
2019-08-05 19:02:06 +01:00
|
|
|
, pantheon
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, substituteAll
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2019-08-05 19:02:06 +01:00
|
|
|
, vala
|
|
|
|
, libgee
|
|
|
|
, granite
|
|
|
|
, gtk3
|
|
|
|
, libxml2
|
|
|
|
, switchboard
|
|
|
|
, tzdata
|
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "switchboard-plug-datetime";
|
2020-06-07 19:07:30 +01:00
|
|
|
version = "2.1.9";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-09-04 00:43:09 +01:00
|
|
|
sha256 = "sha256-qgsU3NXqH7ryUah7rEnUrsbecV4AsOo4QfgTcWc5bc4=";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 06:44:42 +00:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2018-08-20 21:31:18 +01:00
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
switchboard
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 21:31:18 +01:00
|
|
|
description = "Switchboard Date & Time Plug";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/elementary/switchboard-plug-datetime";
|
2018-08-20 21:31:18 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|