2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
|
2020-12-26 04:20:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "inih";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "57";
|
2020-12-26 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benhoyt";
|
|
|
|
repo = pname;
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = "r${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-a4nvhJSmZGqu2sdZSPNPjdnkzZ9dSKocL/XG2aDyFw4=";
|
2020-12-26 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-26 04:20:00 +00:00
|
|
|
description = "Simple .INI file parser in C, good for embedded systems";
|
|
|
|
homepage = "https://github.com/benhoyt/inih";
|
2022-04-27 09:35:20 +00:00
|
|
|
changelog = "https://github.com/benhoyt/inih/releases/tag/r${version}";
|
2020-12-26 04:20:00 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ TredwellGit ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|