about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libmcfp/default.nix
blob: 9532d20456d0f2e288b09f08b3089c5274a31eb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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;
  };
}