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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
660 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja }:
2020-12-16 11:25:53 +03:00
stdenv.mkDerivation rec {
pname = "inih";
2024-01-25 10:47:50 +03:00
version = "58";
2020-12-16 11:25:53 +03:00
src = fetchFromGitHub {
owner = "benhoyt";
repo = pname;
2022-04-30 03:34:24 +03:00
rev = "r${version}";
2024-01-25 10:47:50 +03:00
hash = "sha256-b2f6hQvkmWgni/zdfv3I1b9ypd7zSyEBv/JVBA6K7/w=";
2020-12-16 11:25:53 +03:00
};
nativeBuildInputs = [ meson ninja ];
meta = with lib; {
2020-12-16 11:25:53 +03:00
description = "Simple .INI file parser in C, good for embedded systems";
homepage = "https://github.com/benhoyt/inih";
2022-04-30 03:34:24 +03:00
changelog = "https://github.com/benhoyt/inih/releases/tag/r${version}";
2020-12-16 11:25:53 +03:00
license = licenses.bsd3;
maintainers = with maintainers; [ TredwellGit ];
platforms = platforms.all;
};
}