diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-25 02:48:27 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-25 02:48:27 +0100 |
commit | c5bb4f503b68a80db4b1208ad13895f526c35323 (patch) | |
tree | 9ab6180c540f53aaef7a6b2ba005a0ce9e7f0142 /pkgs/development/libraries/libconfuse | |
parent | d186a66d33cbd97db312e084b1dc8e20b7e5edf9 (diff) | |
download | nixpkgs-c5bb4f503b68a80db4b1208ad13895f526c35323.tar nixpkgs-c5bb4f503b68a80db4b1208ad13895f526c35323.tar.gz nixpkgs-c5bb4f503b68a80db4b1208ad13895f526c35323.tar.bz2 nixpkgs-c5bb4f503b68a80db4b1208ad13895f526c35323.tar.lz nixpkgs-c5bb4f503b68a80db4b1208ad13895f526c35323.tar.xz nixpkgs-c5bb4f503b68a80db4b1208ad13895f526c35323.tar.zst nixpkgs-c5bb4f503b68a80db4b1208ad13895f526c35323.zip |
libconfuse: init at 2.8
Diffstat (limited to 'pkgs/development/libraries/libconfuse')
-rw-r--r-- | pkgs/development/libraries/libconfuse/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libconfuse/default.nix b/pkgs/development/libraries/libconfuse/default.nix new file mode 100644 index 00000000000..dbe818ba561 --- /dev/null +++ b/pkgs/development/libraries/libconfuse/default.nix @@ -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 ]; + }; +} |