2024-04-30 12:55:43 +00:00
|
|
|
{ stdenv, lib, fetchFromSourcehut, meson, ninja, pkg-config, wayland }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libscfg";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~emersion";
|
|
|
|
repo = "libscfg";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-aTcvs7QuDOx17U/yP37LhvIGxmm2WR/6qFYRtfjRN6w=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://sr.ht/~emersion/libscfg";
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Simple configuration file format";
|
2024-04-30 12:55:43 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ michaeladler ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|