at 23.05-pre 566 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4}: 5 6stdenv.mkDerivation (finalAttrs: { 7 pname = "mcpp"; 8 version = "2.7.2.1"; 9 10 src = fetchFromGitHub { 11 owner = "museoa"; 12 repo = "mcpp"; 13 rev = finalAttrs.version; 14 hash= "sha256-T4feegblOeG+NU+c+PAobf8HT8KDSfcINkRAa1hNpkY="; 15 }; 16 17 configureFlags = [ "--enable-mcpplib" ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/museoa/mcpp"; 21 description = "Matsui's C preprocessor"; 22 license = licenses.bsd2; 23 maintainers = with maintainers; [ AndersonTorres ]; 24 platforms = platforms.unix; 25 }; 26})