Created
July 3, 2016 19:10
-
-
Save berdario/94fe51f9ac1366c2ab9e59c98682fc04 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
{ | |
master = pkgs.python35Packages.buildPythonApplication (inputs // { | |
preUnpackHook = '' | |
PDIR = $(pwd) | |
echo "qui: $PDIR" | |
cd $(mktemp -d) | |
git clone $PDIR . | |
export sourceRoot="./checkprices" | |
''; | |
checkPhase = "env MYPYPATH=$PWD/stubs py.test"; | |
doCheck = true; | |
}); | |
dev = pkgs.python35Packages.buildPythonApplication (inputs // { | |
src = ./.; | |
postShellHook = '' | |
export LC_ALL=en_US.UTF-8 | |
export MYPYPATH=$PWD/stubs | |
''; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment