nixpkgs-suyu/pkgs/desktops/pantheon/desktop/wingpanel-indicators/network/default.nix

57 lines
948 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, granite
, networkmanager
, libnma
, wingpanel
, libgee
}:
2018-08-20 22:31:18 +02:00
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-network";
version = "2.2.4";
2018-08-20 22:31:18 +02:00
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "1ja789m4d3akm3i9fl3kazfcny376xl4apv445mrwkwlvcfyylf1";
2018-08-20 22:31:18 +02:00
};
passthru = {
updateScript = pantheon.updateScript {
attrPath = "pantheon.${pname}";
2018-08-20 22:31:18 +02:00
};
};
nativeBuildInputs = [
meson
ninja
pkgconfig
vala
];
buildInputs = [
granite
gtk3
libgee
networkmanager
libnma
2018-08-20 22:31:18 +02:00
wingpanel
];
meta = with stdenv.lib; {
description = "Network Indicator for Wingpanel";
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;
};
}