2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
|
|
|
, libgtop, intltool, itstool, libxml2, nmap, inetutils }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 07:46:07 +01:00
|
|
|
pname = "gnome-nettool";
|
|
|
|
version = "3.8.1";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-25 07:46:07 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2016-09-18 20:35:23 +01:00
|
|
|
sha256 = "1c9cvzvyqgfwa5zzyvp7118pkclji62fkbb33g4y9sp5kw6m397h";
|
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-09-18 20:35:23 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
gtk3 wrapGAppsHook libgtop intltool itstool libxml2
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.adwaita-icon-theme
|
2016-09-18 20:35:23 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ nmap inetutils ];
|
|
|
|
|
2019-04-25 07:46:07 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2019-06-01 20:54:03 +01:00
|
|
|
attrPath = "gnome3.${pname}";
|
2019-04-25 07:46:07 +01:00
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-05-04 14:59:55 +01:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-nettool";
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "A collection of networking tools";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|