override versioneer in artiq

This commit is contained in:
Sebastien Bourdeauducq 2019-02-17 14:51:52 +08:00
parent 5201aa308b
commit 69c57179bc

View File

@ -67,7 +67,7 @@ python3Packages.buildPythonPackage rec {
name = "artiq-${version}";
version = import ./artiq-version.nix;
src = import ./artiq-src.nix { inherit fetchgit; };
buildInputs = [ git ];
preBuild = "export VERSIONEER_OVERRIDE=${version}";
propagatedBuildInputs = with python3Packages; [ binutils-or1k llvm-or1k llvmlite levenshtein pyqtgraph-qt5 aiohttp pygit2 pythonparser numpy dateutil quamash scipy prettytable pyserial asyncserial h5py cython regex qt5Full pyqt5 ];
checkPhase = "python -m unittest discover -v artiq.test";
meta = with stdenv.lib; {