nixpkgs/pkgs/by-name/li/libscfg/package.nix

40 lines
742 B
Nix
Raw Normal View History

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