2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2012-04-05 21:12:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-19 22:32:57 +00:00
|
|
|
pname = "libconfig";
|
|
|
|
version = "1.7.2";
|
2012-04-05 21:12:12 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-19 22:32:57 +00:00
|
|
|
url = "https://hyperrealm.github.io/${pname}/dist/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1ngs2qx3cx5cbwinc5mvadly0b5n7s86zsc68c404czzfff7lg3w";
|
2012-04-05 21:12:12 +00:00
|
|
|
};
|
|
|
|
|
2019-03-19 22:32:57 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-04-21 02:27:09 +00:00
|
|
|
configureFlags = lib.optional stdenv.targetPlatform.isWindows "--disable-examples";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.hyperrealm.com/libconfig";
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "A simple library for processing structured configuration files";
|
2012-04-05 21:12:12 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2021-04-21 02:27:09 +00:00
|
|
|
platforms = with platforms; linux ++ darwin ++ windows;
|
2012-04-05 21:12:12 +00:00
|
|
|
};
|
|
|
|
}
|