pub-solar-os/pkgs/development/libraries/libinih/default.nix

29 lines
639 B
Nix
Raw Normal View History

2020-06-18 02:14:37 +00:00
{ stdenv, meson, ninja, fetchFromGitHub, ... }:
let version = "r50";
in stdenv.mkDerivation {
2020-06-19 20:55:30 +00:00
pname = "libinih";
inherit version;
2020-06-18 02:14:37 +00:00
src = fetchFromGitHub {
owner = "benhoyt";
repo = "inih";
rev = "${version}";
hash = "sha256-GF+TVEysaXJxSBBjMsTr2IQvRKlzdEu3rlPQ88PE3nI=";
};
buildInputs = [ meson ninja ];
mesonFlags = ''
-Ddefault_library=shared
-Ddistro_install=true
'';
2020-06-19 20:55:30 +00:00
meta = with stdenv.lib; {
description = "Simple .INI file parser in C";
homepage = "https://github.com/benhoyt/inih";
maintainers = [ maintainers.nrdxp ];
license = licenses.bsd3;
inherit version;
};
2020-06-18 02:14:37 +00:00
}