Merge pull request #107010 from TredwellGit/inih

inih: init at r52
This commit is contained in:
ajs124 2020-12-25 23:24:26 +01:00 committed by GitHub
commit 1c05194171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -9095,6 +9095,12 @@
githubId = 10110;
name = "Travis B. Hartwell";
};
TredwellGit = {
email = "tredwell@tutanota.com";
github = "TredwellGit";
githubId = 61860346;
name = "Tredwell";
};
treemo = {
email = "matthieu.chevrier@treemo.fr";
github = "treemo";

View file

@ -0,0 +1,30 @@
{ 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;
};
}

View file

@ -13590,6 +13590,8 @@ in
indilib = callPackage ../development/libraries/indilib { };
inih = callPackage ../development/libraries/inih { };
iniparser = callPackage ../development/libraries/iniparser { };
intel-gmmlib = callPackage ../development/libraries/intel-gmmlib { };