3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix

58 lines
949 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, ninja
, substituteAll
2021-01-17 02:21:50 +00:00
, pkg-config
, vala
, libgee
, granite
, gtk3
, libxml2
, switchboard
, tzdata
}:
2018-08-20 21:31:18 +01:00
stdenv.mkDerivation rec {
pname = "switchboard-plug-datetime";
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 = {
updateScript = nix-update-script {
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
];
meta = with lib; {
2018-08-20 21:31:18 +01:00
description = "Switchboard Date & Time Plug";
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;
};
}