2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-04-29 16:46:19 +00:00
|
|
|
pname = "libmcfp";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.3.3";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mhekkel";
|
2023-07-15 17:15:38 +00:00
|
|
|
repo = "libmcfp";
|
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-hAY560uFrrM3gH3r4ArprWEsK/1w/XXDeyTMIYUv+qY=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Header only library that can collect configuration options from command line arguments";
|
|
|
|
homepage = "https://github.com/mhekkel/libmcfp";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/mhekkel/libmcfp/blob/${finalAttrs.src.rev}/changelog";
|
2023-04-29 16:46:19 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ natsukium ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|