Merge branch 'master' into staging-next

This commit is contained in:
Vladimír Čunát
2019-09-27 22:13:02 +02:00
222 changed files with 1897 additions and 1146 deletions

View File

@@ -9,9 +9,9 @@
}:
let
inherit (stdenv.lib) getVersion versionAtLeast splitString head;
inherit (stdenv.lib) getVersion versionAtLeast versions;
mainVersion = head (splitString "." (getVersion erlang));
mainVersion = versions.major (getVersion erlang);
proper = buildHex {
name = "proper";

View File

@@ -20,10 +20,10 @@ in rec {
};
} ./flit-build-hook.sh) {};
pipBuildHook = callPackage ({ pip }:
pipBuildHook = callPackage ({ pip, wheel }:
makeSetupHook {
name = "pip-build-hook.sh";
deps = [ pip ];
deps = [ pip wheel ];
substitutions = {
inherit pythonInterpreter pythonSitePackages;
};

View File

@@ -3,9 +3,9 @@ echo "Sourcing flit-build-hook"
flitBuildPhase () {
echo "Executing flitBuildPhase"
preBuild
runHook preBuild
@pythonInterpreter@ -m flit build --format wheel
postBuild
runHook postBuild
echo "Finished executing flitBuildPhase"
}

View File

@@ -7,7 +7,7 @@ pipBuildPhase() {
mkdir -p dist
echo "Creating a wheel..."
@pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist "$options" .
@pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist .
echo "Finished creating a wheel..."
runHook postBuild