nixpkgs/pkgs/by-name/li/libgtop/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv
2019-03-03 18:02:04 +00:00
, fetchurl
, glib
, pkg-config
2019-03-03 18:02:04 +00:00
, perl
, gettext
, gobject-introspection
, gnome
2019-03-03 18:02:04 +00:00
, gtk-doc
, deterministic-uname
2019-03-03 18:02:04 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
2019-03-03 18:02:04 +00:00
pname = "libgtop";
version = "2.41.3";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/libgtop/${lib.versions.majorMinor finalAttrs.version}/libgtop-${finalAttrs.version}.tar.xz";
hash = "sha256-d1Z235WOLqJFL3Vo8osupYEGPTEnc91cC3Ykwbmy2ow=";
};
2019-03-03 18:02:04 +00:00
nativeBuildInputs = [
# uname output embedded in https://gitlab.gnome.org/GNOME/libgtop/-/blob/master/src/daemon/Makefile.am
deterministic-uname
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
];
2018-03-03 02:49:32 +00:00
passthru = {
updateScript = gnome.updateScript {
packageName = "libgtop";
versionPolicy = "odd-unstable";
2018-03-03 02:49:32 +00:00
};
};
meta = with lib; {
2018-03-03 02:49:32 +00:00
description = "Library that reads information about processes and the running system";
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
2018-06-11 10:01:34 +00:00
platforms = platforms.unix;
};
})