c5ce5db644
GitOrigin-RevId: 84917aa00bf23c88e5874c683abe05edb0ba4078
30 lines
769 B
Nix
30 lines
769 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "inih";
|
|
version = "r52";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benhoyt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0lsvm34zabvi1xlximybzvgc58zb90mm3b9babwxlqs05jy871m4";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
mesonFlags = [
|
|
"-Ddefault_library=shared"
|
|
"-Ddistro_install=true"
|
|
"-Dwith_INIReader=true"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Simple .INI file parser in C, good for embedded systems";
|
|
homepage = "https://github.com/benhoyt/inih";
|
|
changelog = "https://github.com/benhoyt/inih/releases/tag/${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ TredwellGit ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|