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

47 lines
884 B
Nix
Raw Normal View History

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