network-manager-iodine: 1.2.0 -> 2019-11-05

the released version is old and cannot reconnect after the first
connection is closed. This is fixed in master.
This commit is contained in:
Symphorien Gibol 2020-01-28 12:00:00 +00:00
parent 2a04e690bc
commit 683fa30931

View File

@ -1,15 +1,18 @@
{ stdenv, fetchurl, substituteAll, iodine, intltool, pkgconfig, networkmanager, libsecret, gtk3 { stdenv, fetchFromGitLab, substituteAll, autoreconfHook, iodine, intltool, pkgconfig, networkmanager, libsecret, gtk3
, withGnome ? true, gnome3, fetchpatch, networkmanagerapplet }: , withGnome ? true, gnome3, fetchpatch, networkmanagerapplet }:
let let
pname = "NetworkManager-iodine"; pname = "NetworkManager-iodine";
version = "1.2.0"; version = "unstable-2019-11-05";
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "${pname}${if withGnome then "-gnome" else ""}-${version}"; name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
src = fetchurl { src = fetchFromGitLab {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; domain = "gitlab.gnome.org";
sha256 = "0njdigakidji6mfmbsp8lfi8wl88z1dk8cljbva2w0xazyddbwyh"; owner = "GNOME";
repo = "network-manager-iodine";
rev = "2ef0abf089b00a0546f214dde0d45e63f2990b79";
sha256 = "1ps26fr9b1yyafj7lrzf2kmaxb0ipl0mhagch5kzrjdsc5xkajz7";
}; };
patches = [ patches = [
@ -27,11 +30,12 @@ in stdenv.mkDerivation {
buildInputs = [ iodine networkmanager ] buildInputs = [ iodine networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ]; ++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ];
nativeBuildInputs = [ intltool pkgconfig ]; nativeBuildInputs = [ intltool autoreconfHook pkgconfig ];
# glib-2.62 deprecations # glib-2.62 deprecations
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS"; NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
preConfigure = "intltoolize";
configureFlags = [ configureFlags = [
"--without-libnm-glib" "--without-libnm-glib"
"--with-gnome=${if withGnome then "yes" else "no"}" "--with-gnome=${if withGnome then "yes" else "no"}"