glibmm: 2.56.0 → 2.58.0
This commit is contained in:
parent
4e1dd3ce7a
commit
d1e5f0060c
@ -1,27 +1,16 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, gnum4, glib, libsigcxx }:
|
{ stdenv, fetchurl, pkgconfig, gnum4, glib, libsigcxx, gnome3 }:
|
||||||
|
|
||||||
let
|
|
||||||
ver_maj = "2.56";
|
|
||||||
ver_min = "0";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "glibmm-${ver_maj}.${ver_min}";
|
pname = "glibmm";
|
||||||
|
version = "2.58.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/glibmm/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1abrkqhca5p8n6ly3vp1232rny03s7lrd8f8iz2m2m141nxgqx3f";
|
sha256 = "0idnaii4h3mdym2a55gkavipyxigwvbgfmzmwql85s4rgciqjhfk";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
patchFlags = "-p0";
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://raw.githubusercontent.com/macports/macports-ports/e864b2340be9ef003d8ff4aef92e7151d06287dd/devel/glibmm/files/0001-ustring-Fix-wchar-conversion-on-macOS-with-libc.patch";
|
|
||||||
sha256 = "02qvnailw1i59cjbj3cy7y02kfcivsvkdjrf4njkp4plarayyqp9";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gnum4 ];
|
nativeBuildInputs = [ pkgconfig gnum4 ];
|
||||||
propagatedBuildInputs = [ glib libsigcxx ];
|
propagatedBuildInputs = [ glib libsigcxx ];
|
||||||
|
|
||||||
@ -29,6 +18,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = false; # fails. one test needs the net, another /etc/fstab
|
doCheck = false; # fails. one test needs the net, another /etc/fstab
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "C++ interface to the GLib library";
|
description = "C++ interface to the GLib library";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user