1{ lib
2, stdenv
3, cmake
4, fetchFromGitHub
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "libmcfp";
9 version = "1.3.3";
10
11 src = fetchFromGitHub {
12 owner = "mhekkel";
13 repo = "libmcfp";
14 rev = "refs/tags/v${finalAttrs.version}";
15 hash = "sha256-hAY560uFrrM3gH3r4ArprWEsK/1w/XXDeyTMIYUv+qY=";
16 };
17
18 nativeBuildInputs = [
19 cmake
20 ];
21
22 meta = with lib; {
23 description = "Header only library that can collect configuration options from command line arguments";
24 homepage = "https://github.com/mhekkel/libmcfp";
25 changelog = "https://github.com/mhekkel/libmcfp/blob/${finalAttrs.src.rev}/changelog";
26 license = licenses.bsd2;
27 maintainers = with maintainers; [ natsukium ];
28 platforms = platforms.unix;
29 };
30})