nixpkgs/pkgs/development/compilers/mcpp/default.nix

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

27 lines
566 B
Nix
Raw Normal View History

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" ];
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
})