2019-08-05 20:02:06 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pantheon
|
|
|
|
, pkgconfig
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, gtk3
|
|
|
|
, granite
|
|
|
|
, networkmanager
|
2020-03-16 01:23:56 +01:00
|
|
|
, libnma
|
2019-08-05 20:02:06 +02:00
|
|
|
, wingpanel
|
|
|
|
, libgee
|
|
|
|
}:
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wingpanel-indicator-network";
|
2020-06-07 20:04:11 +02:00
|
|
|
version = "2.2.4";
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-06-07 20:04:11 +02:00
|
|
|
sha256 = "1ja789m4d3akm3i9fl3kazfcny376xl4apv445mrwkwlvcfyylf1";
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = pantheon.updateScript {
|
2019-12-22 07:44:42 +01:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
networkmanager
|
2020-03-16 01:23:56 +01:00
|
|
|
libnma
|
2018-08-20 22:31:18 +02:00
|
|
|
wingpanel
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Network Indicator for Wingpanel";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/elementary/wingpanel-indicator-network";
|
2018-08-20 22:31:18 +02:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|