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