nixpkgs-suyu/pkgs/development/libraries/libmcfp/default.nix

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

24 lines
612 B
Nix
Raw Normal View History

2023-03-19 04:05:39 +01:00
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "libmcfp";
version = "1.2.3";
src = fetchFromGitHub {
owner = "mhekkel";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Mi5nj8vR1j3V7fIMBrSyhD57emmlkCb0F08+5s7Usj0=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Header only library that can collect configuration options from command line arguments";
homepage = "https://github.com/mhekkel/libmcfp";
license = licenses.bsd2;
maintainers = with maintainers; [ natsukium ];
platforms = platforms.unix;
};
}