2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-03-03 18:02:04 +00:00
|
|
|
, fetchurl
|
|
|
|
, glib
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-03-03 18:02:04 +00:00
|
|
|
, perl
|
|
|
|
, gettext
|
|
|
|
, gobject-introspection
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2019-03-03 18:02:04 +00:00
|
|
|
, gtk-doc
|
|
|
|
}:
|
|
|
|
|
2016-09-22 13:59:39 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-03-03 18:02:04 +00:00
|
|
|
pname = "libgtop";
|
|
|
|
version = "2.40.0";
|
2012-03-22 07:32:08 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-03-03 18:02:04 +00:00
|
|
|
sha256 = "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq";
|
2012-03-22 07:32:08 +00:00
|
|
|
};
|
|
|
|
|
2019-03-03 18:02:04 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-03-03 18:02:04 +00:00
|
|
|
gtk-doc
|
|
|
|
perl
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
2018-06-11 10:01:34 +00:00
|
|
|
];
|
|
|
|
|
2019-03-03 18:02:04 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
];
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2018-03-03 02:49:32 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 02:49:32 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-03 02:49:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-03-03 02:49:32 +00:00
|
|
|
description = "A library that reads information about processes and the running system";
|
|
|
|
license = licenses.gpl2Plus;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2018-06-11 10:01:34 +00:00
|
|
|
platforms = platforms.unix;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2012-03-22 07:32:08 +00:00
|
|
|
}
|