24 lines
660 B
Nix
24 lines
660 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "inih";
|
|
version = "57";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benhoyt";
|
|
repo = pname;
|
|
rev = "r${version}";
|
|
hash = "sha256-a4nvhJSmZGqu2sdZSPNPjdnkzZ9dSKocL/XG2aDyFw4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
meta = with 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/r${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ TredwellGit ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|