simpleini: init at 4.22 (#346958)

authored by Aleksana and committed by GitHub 01d275a4 6d150cab

+53
+53
pkgs/by-name/si/simpleini/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + cmake, 6 + gtest, 7 + nix-update-script, 8 + }: 9 + 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "simpleini"; 12 + version = "4.22"; 13 + 14 + src = fetchFromGitHub { 15 + name = "simpleini-sources-${finalAttrs.version}"; 16 + owner = "brofield"; 17 + repo = "simpleini"; 18 + rev = "refs/tags/v${finalAttrs.version}"; 19 + hash = "sha256-H4J4+v/3A8ZTOp4iMeiZ0OClu68oP4vUZ8YOFZbllcM="; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + cmake 24 + ]; 25 + 26 + buildInputs = [ 27 + gtest 28 + ]; 29 + 30 + strictDeps = true; 31 + 32 + cmakeFlags = [ (lib.cmakeBool "SIMPLEINI_USE_SYSTEM_GTEST" true) ]; 33 + 34 + passthru.updateScript = nix-update-script { }; 35 + 36 + meta = { 37 + description = "Cross-platform C++ library providing a simple API to read and write INI-style configuration files"; 38 + longDescription = '' 39 + A cross-platform library that provides a simple API to read and write 40 + INI-style configuration files. It supports data files in ASCII, MBCS and 41 + Unicode. It is designed explicitly to be portable to any platform and has 42 + been tested on Windows, WinCE and Linux. Released as open-source and free 43 + using the MIT licence. 44 + ''; 45 + homepage = "https://github.com/brofield/simpleini"; 46 + license = lib.licenses.mit; 47 + maintainers = with lib.maintainers; [ 48 + HeitorAugustoLN 49 + AndersonTorres 50 + ]; 51 + platforms = lib.platforms.all; 52 + }; 53 + })