2018-03-14 12:15:06 -07:00
|
|
|
{ stdenv, fetchurl, glib, pkgconfig, perl, gettext, gobjectIntrospection, libintl, gnome3 }:
|
2018-03-02 18:49:32 -08:00
|
|
|
let
|
|
|
|
pname = "libgtop";
|
|
|
|
version = "2.38.0";
|
|
|
|
in
|
2016-09-22 06:59:39 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-02 18:49:32 -08:00
|
|
|
name = "${pname}-${version}";
|
2012-03-22 00:32:08 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-02 18:49:32 -08:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2017-10-02 18:17:45 -07:00
|
|
|
sha256 = "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g";
|
2012-03-22 00:32:08 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ glib ];
|
2018-03-02 18:49:32 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig perl gettext gobjectIntrospection ];
|
2016-08-02 09:06:29 -07:00
|
|
|
|
2018-03-02 18:49:32 -08:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library that reads information about processes and the running system";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
2016-08-02 09:06:29 -07:00
|
|
|
};
|
2012-03-22 00:32:08 -07:00
|
|
|
}
|