forked from M-Labs/artiq
1
0
Fork 0

nix: use latest python3

This commit is contained in:
Sebastien Bourdeauducq 2018-08-16 09:39:21 +08:00
parent 73cf071b1a
commit 477dcdbad4
1 changed files with 13 additions and 13 deletions

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, fetchsvn, python35Packages, qt5Full, llvm-or1k, llvmlite, python35}: { stdenv, fetchFromGitHub, fetchsvn, python3Packages, qt5Full, llvm-or1k, llvmlite, python3}:
let let
levenshtein = python35Packages.buildPythonPackage rec { levenshtein = python3Packages.buildPythonPackage rec {
name = "levenshtein"; name = "levenshtein";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ztane"; owner = "ztane";
@ -13,7 +13,7 @@ levenshtein = python35Packages.buildPythonPackage rec {
doCheck = false; doCheck = false;
}; };
pythonparser = python35Packages.buildPythonPackage rec { pythonparser = python3Packages.buildPythonPackage rec {
name = "pythonparser"; name = "pythonparser";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "m-labs"; owner = "m-labs";
@ -21,11 +21,11 @@ pythonparser = python35Packages.buildPythonPackage rec {
rev = "8bdc7badbd08e2196b864e12889ea9191ca6e09c"; rev = "8bdc7badbd08e2196b864e12889ea9191ca6e09c";
sha256 = "1f538wnjlqah0dsvq256k2rv7s7bffsvjcxy8fq0x3a4g0s6pm9d"; sha256 = "1f538wnjlqah0dsvq256k2rv7s7bffsvjcxy8fq0x3a4g0s6pm9d";
}; };
buildInputs = with python35Packages; [ regex ]; buildInputs = with python3Packages; [ regex ];
doCheck = false; doCheck = false;
}; };
asyncserial = python35Packages.buildPythonPackage rec { asyncserial = python3Packages.buildPythonPackage rec {
name = "asyncserial"; name = "asyncserial";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "m-labs"; owner = "m-labs";
@ -33,11 +33,11 @@ asyncserial = python35Packages.buildPythonPackage rec {
rev = "d95bc1d6c791b0e9785935d2f62f628eb5cdf98d"; rev = "d95bc1d6c791b0e9785935d2f62f628eb5cdf98d";
sha256 = "0yzkka9jk3612v8gx748x6ziwykq5lr7zmr9wzkcls0v2yilqx9k"; sha256 = "0yzkka9jk3612v8gx748x6ziwykq5lr7zmr9wzkcls0v2yilqx9k";
}; };
buildInputs = with python35Packages; [ pyserial ]; buildInputs = with python3Packages; [ pyserial ];
doCheck = false; doCheck = false;
}; };
outputcheck = python35Packages.buildPythonPackage rec { outputcheck = python3Packages.buildPythonPackage rec {
name = "outputcheck"; name = "outputcheck";
version = "0.4.2"; version = "0.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -54,7 +54,7 @@ outputcheck = python35Packages.buildPythonPackage rec {
doCheck = false; doCheck = false;
}; };
quamash = python35Packages.buildPythonPackage rec { quamash = python3Packages.buildPythonPackage rec {
name = "quamash"; name = "quamash";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "harvimt"; owner = "harvimt";
@ -62,11 +62,11 @@ quamash = python35Packages.buildPythonPackage rec {
rev = "bbab9e30e10b71a95687b03a93524173fb7b43f0"; rev = "bbab9e30e10b71a95687b03a93524173fb7b43f0";
sha256 = "08hp2q4ifj6z2ww05c7zsy0cd732k9rnaims1j43vr4hhxx950mk"; sha256 = "08hp2q4ifj6z2ww05c7zsy0cd732k9rnaims1j43vr4hhxx950mk";
}; };
buildInputs = with python35Packages; [ pyqt5 ]; buildInputs = with python3Packages; [ pyqt5 ];
doCheck = false; doCheck = false;
}; };
lit = python35Packages.buildPythonPackage rec { lit = python3Packages.buildPythonPackage rec {
name = "lit"; name = "lit";
version = "262719"; version = "262719";
source = fetchsvn { source = fetchsvn {
@ -80,12 +80,12 @@ lit = python35Packages.buildPythonPackage rec {
in in
python35Packages.buildPythonPackage rec { python3Packages.buildPythonPackage rec {
version = "336482"; version = "336482";
name = "artiq-${version}"; name = "artiq-${version}";
src = ./..; src = ./..;
buildInputs = with python35Packages; [ lit outputcheck ]; buildInputs = with python3Packages; [ lit outputcheck ];
propagatedBuildInputs = with python35Packages; [ llvm-or1k llvmlite levenshtein pyqtgraph aiohttp pygit2 pythonparser numpy dateutil quamash scipy prettytable pyserial asyncserial h5py cython regex qt5Full pyqt5 ]; propagatedBuildInputs = with python3Packages; [ llvm-or1k llvmlite levenshtein pyqtgraph aiohttp pygit2 pythonparser numpy dateutil quamash scipy prettytable pyserial asyncserial h5py cython regex qt5Full pyqt5 ];
doCheck = false; doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = ""; description = "";