Skip to content

Commit

Permalink
simpleini: init at 4.22
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Oct 17, 2024
1 parent 6e9a9ca commit eaf5df2
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/by-name/si/simpleini/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
gtest,
nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "simpleini";
version = "4.22";

src = fetchFromGitHub {
owner = "brofield";
repo = "simpleini";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-H4J4+v/3A8ZTOp4iMeiZ0OClu68oP4vUZ8YOFZbllcM=";
};

nativeBuildInputs = [
cmake
];

buildInputs = [
gtest
];

strictDeps = true;

cmakeFlags = [ (lib.cmakeBool "SIMPLEINI_USE_SYSTEM_GTEST" true) ];

passthru.updateScript = nix-update-script { };

meta = {
description = "Cross-platform C++ library providing a simple API to read and write INI-style configuration files";
homepage = "https://github.com/brofield/simpleini";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ HeitorAugustoLN ];
platforms = lib.platforms.all;
};
})

0 comments on commit eaf5df2

Please sign in to comment.