2022-09-01 11:59:40 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2014-01-31 01:52:12 +00:00
|
|
|
|
2022-09-01 11:59:40 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-09-06 16:09:02 +00:00
|
|
|
pname = "mcpp";
|
2022-09-01 11:59:40 +00:00
|
|
|
version = "2.7.2.1";
|
2014-01-31 01:52:12 +00:00
|
|
|
|
2022-09-01 11:59:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "museoa";
|
|
|
|
repo = "mcpp";
|
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash= "sha256-T4feegblOeG+NU+c+PAobf8HT8KDSfcINkRAa1hNpkY=";
|
2014-01-31 01:52:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-mcpplib" ];
|
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2022-09-01 11:59:40 +00:00
|
|
|
homepage = "https://github.com/museoa/mcpp";
|
|
|
|
description = "Matsui's C preprocessor";
|
2014-01-31 01:52:12 +00:00
|
|
|
license = licenses.bsd2;
|
2022-09-01 11:59:40 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2014-01-31 01:52:12 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2022-09-01 11:59:40 +00:00
|
|
|
})
|