nixpkgs/pkgs/by-name/li/libmcfp/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
745 B
Nix
Raw Normal View History

{ lib
, stdenv
, cmake
, fetchFromGitHub
}:
2023-03-19 03:05:39 +00:00
stdenv.mkDerivation (finalAttrs: {
2023-03-19 03:05:39 +00:00
pname = "libmcfp";
2024-03-29 17:22:03 +00:00
version = "1.3.3";
2023-03-19 03:05:39 +00:00
src = fetchFromGitHub {
owner = "mhekkel";
repo = "libmcfp";
rev = "refs/tags/v${finalAttrs.version}";
2024-03-29 17:22:03 +00:00
hash = "sha256-hAY560uFrrM3gH3r4ArprWEsK/1w/XXDeyTMIYUv+qY=";
2023-03-19 03:05:39 +00:00
};
nativeBuildInputs = [
cmake
];
2023-03-19 03:05:39 +00:00
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";
2023-03-19 03:05:39 +00:00
license = licenses.bsd2;
maintainers = with maintainers; [ natsukium ];
platforms = platforms.unix;
};
})