From 3bf7f18d4dcfa177998cab26bba47063f8532592 Mon Sep 17 00:00:00 2001 From: Cillian de Roiste Date: Thu, 5 Apr 2012 21:12:12 +0000 Subject: [PATCH] Adding libconfig, a simple library for processing config files svn path=/nixpkgs/trunk/; revision=33633 --- .../libraries/libconfig/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/libconfig/default.nix diff --git a/pkgs/development/libraries/libconfig/default.nix b/pkgs/development/libraries/libconfig/default.nix new file mode 100644 index 000000000000..03b7b2cfb928 --- /dev/null +++ b/pkgs/development/libraries/libconfig/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "libconfig-${version}"; + version = "1.4.8"; + + src = fetchurl { + url = "http://www.hyperrealm.com/libconfig/${name}.tar.gz"; + sha256 = "1v817hy9y416i64ly17xdmgrn62qwj225wqakdzqr2j3pygm1c8q"; + }; + + meta = with stdenv.lib; { + homepage = http://www.hyperrealm.com/libconfig; + description = "a simple library for processing structured configuration files"; + license = licenses.lgpl3; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4cafd94eb333..f8be12222c34 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -939,6 +939,8 @@ let lftp = callPackage ../tools/networking/lftp { }; + libconfig = callPackage ../development/libraries/libconfig { }; + libtirpc = callPackage ../development/libraries/ti-rpc { }; libtorrent = callPackage ../tools/networking/p2p/libtorrent { };