libscfg: format, add updateScript

+17 -2
+17 -2
pkgs/by-name/li/libscfg/package.nix
··· 1 - { stdenv, lib, fetchFromSourcehut, meson, ninja, pkg-config, wayland }: 2 3 stdenv.mkDerivation rec { 4 pname = "libscfg"; ··· 11 hash = "sha256-aTcvs7QuDOx17U/yP37LhvIGxmm2WR/6qFYRtfjRN6w="; 12 }; 13 14 - nativeBuildInputs = [ meson ninja pkg-config ]; 15 buildInputs = [ wayland ]; 16 17 meta = with lib; { 18 homepage = "https://sr.ht/~emersion/libscfg";
··· 1 + { 2 + stdenv, 3 + lib, 4 + fetchFromSourcehut, 5 + meson, 6 + ninja, 7 + pkg-config, 8 + wayland, 9 + nix-update-script, 10 + }: 11 12 stdenv.mkDerivation rec { 13 pname = "libscfg"; ··· 20 hash = "sha256-aTcvs7QuDOx17U/yP37LhvIGxmm2WR/6qFYRtfjRN6w="; 21 }; 22 23 + nativeBuildInputs = [ 24 + meson 25 + ninja 26 + pkg-config 27 + ]; 28 buildInputs = [ wayland ]; 29 + 30 + passthru.updateScript = nix-update-script { }; 31 32 meta = with lib; { 33 homepage = "https://sr.ht/~emersion/libscfg";