Skip to content

Instantly share code, notes, and snippets.

@Mic92
Created March 4, 2018 04:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mic92/935c0a8ce53a6eb2ee778b2e81545100 to your computer and use it in GitHub Desktop.
Save Mic92/935c0a8ce53a6eb2ee778b2e81545100 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
let
doxygen = pkgs.doxygen.overrideAttrs (attrs: {
name = "doxygen-1.8.13";
buildInputs = attrs.buildInputs ++ [ pkgs.sqlite ];
cmakeFlags = [
"-DSQLITE3_INCLUDE_DIR=${sqlite.dev}/include" "-Duse_sqlite3=ON"
] ++ attrs.cmakeFlags;
});
in stdenv.mkDerivation {
name = "env";
buildInputs = [doxygen pkgs.python36 pkgs.python36Packages.pip pkgs.python36Packages.virtualenv ];
shellHook = ''
virtualenv --no-setuptools venv > /dev/null
export PATH=$PWD/venv/bin:$PATH > /dev/null
pip install pcpp
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment