about summary refs log tree commit diff
path: root/pkgs/by-name/li/libscfg/package.nix
blob: d0c7426080f68d4a417aed1eed18292890fd738f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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";
    description = "A simple configuration file format";
    license = licenses.mit;
    maintainers = with maintainers; [ michaeladler ];
    platforms = platforms.linux;
  };
}