nixpkgs/pkgs/development/libraries/inih/default.nix

25 lines
657 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja }:
2020-12-16 08:25:53 +00:00
stdenv.mkDerivation rec {
pname = "inih";
version = "r53";
2020-12-16 08:25:53 +00:00
src = fetchFromGitHub {
owner = "benhoyt";
repo = pname;
rev = version;
sha256 = "0dqf5j2sw4hq68rqvxbrsf44ygfzx9ypiyzipk4cvp9aimbvsbc6";
2020-12-16 08:25:53 +00:00
};
nativeBuildInputs = [ meson ninja ];
meta = with lib; {
2020-12-16 08:25:53 +00:00
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;
};
}