diff --git a/pkgs/by-name/mp/mpdcron/Gemfile.lock b/pkgs/by-name/mp/mpdcron/Gemfile.lock index 81db47feff53..2b450246fec8 100644 --- a/pkgs/by-name/mp/mpdcron/Gemfile.lock +++ b/pkgs/by-name/mp/mpdcron/Gemfile.lock @@ -1,41 +1,17 @@ GEM remote: https://rubygems.org/ specs: - mini_portile2 (2.8.8) - nokogiri (1.18.3) + mini_portile2 (2.8.9) + nokogiri (1.18.8) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.3-aarch64-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.3-aarch64-linux-musl) - racc (~> 1.4) - nokogiri (1.18.3-arm-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.3-arm-linux-musl) - racc (~> 1.4) - nokogiri (1.18.3-arm64-darwin) - racc (~> 1.4) - nokogiri (1.18.3-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.18.3-x86_64-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.3-x86_64-linux-musl) - racc (~> 1.4) racc (1.8.1) PLATFORMS - aarch64-linux-gnu - aarch64-linux-musl - arm-linux-gnu - arm-linux-musl - arm64-darwin ruby - x86_64-darwin - x86_64-linux-gnu - x86_64-linux-musl DEPENDENCIES nokogiri BUNDLED WITH - 2.6.2 + 2.6.9 diff --git a/pkgs/by-name/mp/mpdcron/gemset.nix b/pkgs/by-name/mp/mpdcron/gemset.nix index b5949dd22930..137e87c1a529 100644 --- a/pkgs/by-name/mp/mpdcron/gemset.nix +++ b/pkgs/by-name/mp/mpdcron/gemset.nix @@ -4,10 +4,10 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "0x8asxl83msn815lwmb2d7q5p29p7drhjv5va0byhk60v9n16iwf"; + sha256 = "12f2830x7pq3kj0v8nz0zjvaw02sv01bqs1zwdrc04704kwcgmqc"; type = "gem"; }; - version = "2.8.8"; + version = "2.8.9"; }; nokogiri = { dependencies = [ @@ -18,10 +18,10 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "0npx535cs8qc33n0lpbbwl0p9fi3a5bczn6ayqhxvknh9yqw77vb"; + sha256 = "0rb306hbky6cxfyc8vrwpvl40fdapjvhsk62h08gg9wwbn3n8x4c"; type = "gem"; }; - version = "1.18.3"; + version = "1.18.8"; }; racc = { groups = [ "default" ]; diff --git a/pkgs/by-name/mp/mpdcron/package.nix b/pkgs/by-name/mp/mpdcron/package.nix index b3c22a7b80ee..91a535aec1f1 100644 --- a/pkgs/by-name/mp/mpdcron/package.nix +++ b/pkgs/by-name/mp/mpdcron/package.nix @@ -14,6 +14,8 @@ bundlerEnv, libnotify, pandoc, + autoreconfHook, + bundlerUpdateScript, }: let @@ -34,8 +36,7 @@ stdenv.mkDerivation { }; nativeBuildInputs = [ - autoconf - automake + autoreconfHook pkg-config ]; buildInputs = [ @@ -50,25 +51,21 @@ stdenv.mkDerivation { libnotify ]; - preConfigure = '' - ./autogen.sh - ''; - configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ]; - meta = with lib; { + passthru.updateScript = bundlerUpdateScript "mpdcron"; + + meta = { description = "Cron like daemon for mpd"; homepage = "http://alip.github.io/mpdcron/"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ lovek323 manveru ]; - broken = stdenv.hostPlatform.isDarwin; # fails due to old nokogiri https://github.com/sparklemotion/nokogiri/discussions/3152#discussioncomment-8806607 }; } -# TODO: autoreconfHook this