-
-
Save Mic92/935c0a8ce53a6eb2ee778b2e81545100 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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