Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
633 B · 31 lines
Nix
1234567891011121314151617181920212223242526272829303132{ lib, stdenv, fetchFromGitHub}:
stdenv.mkDerivation (finalAttrs: { pname = "mcpp"; version = "2.7.2.1";
src = fetchFromGitHub { owner = "museoa"; repo = "mcpp"; rev = finalAttrs.version; hash= "sha256-T4feegblOeG+NU+c+PAobf8HT8KDSfcINkRAa1hNpkY="; };
patches = [ ./readlink.patch ];
configureFlags = [ "--enable-mcpplib" ];
meta = with lib; { homepage = "https://github.com/museoa/mcpp"; description = "Matsui's C preprocessor"; mainProgram = "mcpp"; license = licenses.bsd2; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; };})