nixpkgs/pkgs/development/libraries/inih/default.nix
2023-09-27 19:30:22 +01:00

25 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;
};
}