summary refs log tree commit diff
path: root/pkgs/development/libraries/liblaxjson/default.nix
blob: f185a44380ab5d37b1b23258b8e6d45b7d852f30 (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
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  version = "1.0.5";
  pname = "liblaxjson";

  src = fetchFromGitHub {
    owner = "andrewrk";
    repo = "liblaxjson";
    rev = version;
    sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s";
  };

  buildInputs = [ cmake ];

  meta = with stdenv.lib; {
    description = "Library for parsing JSON config files";
    homepage = https://github.com/andrewrk/liblaxjson;
    license = licenses.mit;
    platforms = platforms.unix;
    maintainers = [ maintainers.andrewrk ];
  };
}