depot/third_party/nixpkgs/pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

36 lines
1,010 B
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, libgtop, intltool, itstool, libxml2, nmap, inetutils }:
stdenv.mkDerivation rec {
pname = "gnome-nettool";
version = "3.8.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1c9cvzvyqgfwa5zzyvp7118pkclji62fkbb33g4y9sp5kw6m397h";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
gtk3 wrapGAppsHook libgtop intltool itstool libxml2
gnome3.adwaita-icon-theme
];
propagatedUserEnvPkgs = [ nmap inetutils ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
homepage = "https://gitlab.gnome.org/GNOME/gnome-nettool";
description = "A collection of networking tools";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}