libscfg: format, add updateScript (#345668)

This commit is contained in:
Aleksana 2024-10-27 12:26:58 +08:00 committed by GitHub
commit 4b1f5e9b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,13 @@
{ stdenv, lib, fetchFromSourcehut, meson, ninja, pkg-config, wayland }:
{
stdenv,
lib,
fetchFromSourcehut,
meson,
ninja,
pkg-config,
wayland,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "libscfg";
@ -11,9 +20,15 @@ stdenv.mkDerivation rec {
hash = "sha256-aTcvs7QuDOx17U/yP37LhvIGxmm2WR/6qFYRtfjRN6w=";
};
nativeBuildInputs = [ meson ninja pkg-config ];
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [ wayland ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://sr.ht/~emersion/libscfg";
description = "Simple configuration file format";