at 23.05-pre 23 lines 715 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "libconfig"; 5 version = "1.7.3"; 6 7 src = fetchurl { 8 url = "https://hyperrealm.github.io/${pname}/dist/${pname}-${version}.tar.gz"; 9 sha256 = "sha256-VFFm1srAN3RDgdHpzFpUBQlOe/rRakEWmbz/QLuzHuc="; 10 }; 11 12 doCheck = true; 13 14 configureFlags = lib.optional (stdenv.targetPlatform.isWindows || stdenv.hostPlatform.isStatic) "--disable-examples"; 15 16 meta = with lib; { 17 homepage = "http://www.hyperrealm.com/libconfig"; 18 description = "A simple library for processing structured configuration files"; 19 license = licenses.lgpl3; 20 maintainers = [ maintainers.goibhniu ]; 21 platforms = with platforms; linux ++ darwin ++ windows; 22 }; 23}