2024-05-15 15:35:15 +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}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-aTcvs7QuDOx17U/yP37LhvIGxmm2WR/6qFYRtfjRN6w=";
|
2024-05-15 15:35:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://sr.ht/~emersion/libscfg";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple configuration file format";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ michaeladler ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|