diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libgtop')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libgtop/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libgtop/default.nix b/nixpkgs/pkgs/development/libraries/libgtop/default.nix new file mode 100644 index 000000000000..65f5e2750e51 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libgtop/default.nix @@ -0,0 +1,45 @@ +{ stdenv +, fetchurl +, glib +, pkgconfig +, perl +, gettext +, gobject-introspection +, gnome3 +, gtk-doc +}: + +stdenv.mkDerivation rec { + pname = "libgtop"; + version = "2.40.0"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"; + }; + + nativeBuildInputs = [ + pkgconfig + gtk-doc + perl + gettext + gobject-introspection + ]; + + propagatedBuildInputs = [ + glib + ]; + + 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 = teams.gnome.members; + platforms = platforms.unix; + }; +} |