depot/third_party/nixpkgs/pkgs/development/libraries/libmcfp/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

30 lines
745 B
Nix

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