1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

libconfuse: init at 2.8

This commit is contained in:
Tobias Geerinckx-Rice 2016-01-25 02:48:27 +01:00
parent d186a66d33
commit c5bb4f503b
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, autoreconfHook, flex }:
stdenv.mkDerivation rec {
name = "libconfuse-${version}";
version = "2.8";
src = fetchFromGitHub {
sha256 = "0s0asxnml4rlv17ijz5w57x949anag28wx7wdahqx6mgqz0w2j2k";
rev = "v${version}";
repo = "libconfuse";
owner = "martinh";
};
nativeBuildInputs = [ autoreconfHook flex ];
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Small configuration file parser library for C";
longDescription = ''
libConfuse (previously libcfg) is a configuration file parser library
written in C. It supports sections and (lists of) values, as well as
some other features. It makes it very easy to add configuration file
capability to a program using a simple API.
The goal of libConfuse is not to be the configuration file parser library
with a gazillion of features. Instead, it aims to be easy to use and
quick to integrate with your code.
'';
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View file

@ -7094,6 +7094,8 @@ let
libcommuni = callPackage ../development/libraries/libcommuni { };
libconfuse = callPackage ../development/libraries/libconfuse { };
inherit (gnome3) libcroco;
libcangjie = callPackage ../development/libraries/libcangjie { };