Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / inih / default.nix
blob61bca95d9b2e7bc32b0177fee9a0a6aab47e0759
1 { lib, stdenv, fetchFromGitHub, meson, ninja }:
3 stdenv.mkDerivation rec {
4   pname = "inih";
5   version = "57";
7   src = fetchFromGitHub {
8     owner = "benhoyt";
9     repo = pname;
10     rev = "r${version}";
11     hash = "sha256-a4nvhJSmZGqu2sdZSPNPjdnkzZ9dSKocL/XG2aDyFw4=";
12   };
14   nativeBuildInputs = [ meson ninja ];
16   meta = with lib; {
17     description = "Simple .INI file parser in C, good for embedded systems";
18     homepage = "https://github.com/benhoyt/inih";
19     changelog = "https://github.com/benhoyt/inih/releases/tag/r${version}";
20     license = licenses.bsd3;
21     maintainers = with maintainers; [ TredwellGit ];
22     platforms = platforms.all;
23   };