nixpkgs/pkgs/development/libraries/libgtop/default.nix

46 lines
854 B
Nix
Raw Normal View History

2019-03-03 18:02:04 +00:00
{ stdenv
, fetchurl
, glib
, pkgconfig
, perl
, gettext
, gobject-introspection
, gnome3
, gtk-doc
}:
2016-09-22 14:59:39 +01:00
stdenv.mkDerivation rec {
2019-03-03 18:02:04 +00:00
pname = "libgtop";
version = "2.40.0";
src = fetchurl {
2019-03-03 18:02:04 +00:00
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq";
};
2019-03-03 18:02:04 +00:00
nativeBuildInputs = [
pkgconfig
gtk-doc
perl
gettext
gobject-introspection
2018-06-11 11:01:34 +01:00
];
2019-03-03 18:02:04 +00:00
propagatedBuildInputs = [
glib
];
2018-03-03 02:49:32 +00: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;
2018-06-11 11:01:34 +01:00
platforms = platforms.unix;
};
}