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