Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libmcfp / default.nix
blob7a76fabaa43369e9c80d2b0d527d17316b60e6f1
1 { lib
2 , stdenv
3 , cmake
4 , fetchFromGitHub
5 }:
7 stdenv.mkDerivation (finalAttrs: {
8   pname = "libmcfp";
9   version = "1.2.4";
11   src = fetchFromGitHub {
12     owner = "mhekkel";
13     repo = "libmcfp";
14     rev = "refs/tags/v${finalAttrs.version}";
15     hash = "sha256-Xz7M3TmUHGqiYZbFGSDxsVvg4VhgoVvr9TW03UxdFBw=";
16   };
18   nativeBuildInputs = [
19     cmake
20   ];
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   };