blob: 7a76fabaa43369e9c80d2b0d527d17316b60e6f1 (
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
24
25
26
27
28
29
30
|
{ lib
, stdenv
, cmake
, fetchFromGitHub
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libmcfp";
version = "1.2.4";
src = fetchFromGitHub {
owner = "mhekkel";
repo = "libmcfp";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-Xz7M3TmUHGqiYZbFGSDxsVvg4VhgoVvr9TW03UxdFBw=";
};
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;
};
})
|