depot/pkgs/by-name/li/libscfg/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

39 lines
742 B
Nix

{
stdenv,
lib,
fetchFromSourcehut,
meson,
ninja,
pkg-config,
wayland,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "libscfg";
version = "0.1.1";
src = fetchFromSourcehut {
owner = "~emersion";
repo = "libscfg";
rev = "v${version}";
hash = "sha256-aTcvs7QuDOx17U/yP37LhvIGxmm2WR/6qFYRtfjRN6w=";
};
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";
license = licenses.mit;
maintainers = with maintainers; [ michaeladler ];
platforms = platforms.linux;
};
}