diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/inih')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/inih/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/inih/default.nix b/nixpkgs/pkgs/development/libraries/inih/default.nix new file mode 100644 index 000000000000..91d27fbc675c --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/inih/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, meson, ninja }: + +stdenv.mkDerivation rec { + pname = "inih"; + version = "58"; + + src = fetchFromGitHub { + owner = "benhoyt"; + repo = pname; + rev = "r${version}"; + hash = "sha256-b2f6hQvkmWgni/zdfv3I1b9ypd7zSyEBv/JVBA6K7/w="; + }; + + 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; + }; +} |