2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
|
2020-12-16 09:25:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "inih";
|
2022-07-28 17:52:12 +02:00
|
|
|
version = "56";
|
2020-12-16 09:25:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benhoyt";
|
|
|
|
repo = pname;
|
2022-04-30 02:34:24 +02:00
|
|
|
rev = "r${version}";
|
2022-07-28 17:52:12 +02:00
|
|
|
sha256 = "sha256-7k3i3pElihastUDrdf9DyRZMe2UNFckfLUFGb4rbWLo=";
|
2020-12-16 09:25:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-12-16 09:25:53 +01:00
|
|
|
description = "Simple .INI file parser in C, good for embedded systems";
|
|
|
|
homepage = "https://github.com/benhoyt/inih";
|
2022-04-30 02:34:24 +02:00
|
|
|
changelog = "https://github.com/benhoyt/inih/releases/tag/r${version}";
|
2020-12-16 09:25:53 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ TredwellGit ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|