libgtop: 2.38.0 -> 2.40.0
This commit is contained in:
parent
f2cb37162b
commit
ea541eec9a
@ -1,30 +1,34 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, glib, pkgconfig, perl, gettext, gobject-introspection, libtool, gnome3, gtk-doc }:
|
{ stdenv
|
||||||
let
|
, fetchurl
|
||||||
pname = "libgtop";
|
, glib
|
||||||
version = "2.38.0";
|
, pkgconfig
|
||||||
in
|
, perl
|
||||||
|
, gettext
|
||||||
|
, gobject-introspection
|
||||||
|
, gnome3
|
||||||
|
, gtk-doc
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
pname = "libgtop";
|
||||||
|
version = "2.40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g";
|
sha256 = "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
nativeBuildInputs = [
|
||||||
# Fix darwin build
|
pkgconfig
|
||||||
(fetchpatch {
|
gtk-doc
|
||||||
url = https://gitlab.gnome.org/GNOME/libgtop/commit/42b049f338363f92c1e93b4549fc944098eae674.patch;
|
perl
|
||||||
sha256 = "0kf9ihgb0wqji6dcvg36s6igkh7b79k6y1n7w7wzsxya84x3hhyn";
|
gettext
|
||||||
})
|
gobject-introspection
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [
|
||||||
nativeBuildInputs = [ pkgconfig gnome3.gnome-common libtool gtk-doc perl gettext gobject-introspection ];
|
glib
|
||||||
|
];
|
||||||
preConfigure = ''
|
|
||||||
./autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user