libgudev: 234 → 236

This commit is contained in:
Jan Tojnar 2021-03-21 01:21:42 +00:00
parent abe959db74
commit b0f8f45b39
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,28 +1,43 @@
{ lib, stdenv { lib, stdenv
, fetchurl , fetchurl
, pkg-config , pkg-config
, meson
, ninja
, udev , udev
, glib , glib
, gobject-introspection , gobject-introspection
, gnome3 , gnome3
, vala
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libgudev"; pname = "libgudev";
version = "234"; version = "236";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0drf39qhsdz35kwb18hnfj2ig4yfxhfks66m783zlhnvy2narbhv"; sha256 = "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5";
}; };
nativeBuildInputs = [ pkg-config gobject-introspection ]; nativeBuildInputs = [
buildInputs = [ udev glib ]; pkg-config
gobject-introspection
meson
ninja
vala
];
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway. buildInputs = [
configureFlags = [ "--disable-umockdev" ]; udev
glib
];
mesonFlags = [
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway
"-Dtests=disabled"
];
passthru = { passthru = {
updateScript = gnome3.updateScript { updateScript = gnome3.updateScript {