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

30 lines
840 B
Nix
Raw Normal View History

2018-03-14 20:15:06 +01:00
{ stdenv, fetchurl, glib, pkgconfig, perl, gettext, gobjectIntrospection, libintl, gnome3 }:
2018-03-03 03:49:32 +01:00
let
pname = "libgtop";
version = "2.38.0";
in
2016-09-22 15:59:39 +02:00
stdenv.mkDerivation rec {
2018-03-03 03:49:32 +01:00
name = "${pname}-${version}";
src = fetchurl {
2018-03-03 03:49:32 +01:00
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
2017-10-03 03:17:45 +02:00
sha256 = "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g";
};
propagatedBuildInputs = [ glib ];
2018-03-03 03:49:32 +01:00
nativeBuildInputs = [ pkgconfig perl gettext gobjectIntrospection ];
2018-03-03 03:49:32 +01: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;
};
}