2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00
artiq/nix/pkgs/python3Packages.nix

108 lines
3.3 KiB
Nix
Raw Normal View History

{ pkgs, stdenv, fetchFromGitHub, python, python3Packages }:
rec {
asyncserial = python3Packages.buildPythonPackage rec {
2019-01-21 23:55:25 +08:00
name = "asyncserial";
src = fetchFromGitHub {
owner = "m-labs";
repo = "asyncserial";
rev = "d95bc1d6c791b0e9785935d2f62f628eb5cdf98d";
sha256 = "0yzkka9jk3612v8gx748x6ziwykq5lr7zmr9wzkcls0v2yilqx9k";
fetchSubmodules = true;
};
propagatedBuildInputs = with python3Packages; [ pyserial ] ++ (with pkgs; [ ]);
meta = with stdenv.lib; {
description = "asyncio support for pyserial";
2019-01-02 16:04:25 +08:00
homepage = "https://m-labs.hk";
license = licenses.bsd2;
platforms = platforms.unix;
};
};
misoc = python3Packages.buildPythonPackage rec {
2019-01-21 23:55:25 +08:00
name = "misoc";
src = fetchFromGitHub {
owner = "m-labs";
repo = "misoc";
2019-01-24 16:20:02 +08:00
rev = "8e033c2cb77f78c95d2b2e08125324891d07fa34";
sha256 = "0pv1akhvr85iswqmhzcqh9gfnyha11k68qmhqizma8fdccvvzm4y";
fetchSubmodules = true;
};
2018-12-13 06:57:10 +08:00
# TODO: fix misoc bitrot and re-enable tests
doCheck = false;
propagatedBuildInputs = with python3Packages; [ pyserial jinja2 numpy asyncserial migen ];
meta = with stdenv.lib; {
2019-01-22 15:06:13 +08:00
description = "A high performance and small footprint system-on-chip based on Migen";
2019-01-02 16:04:25 +08:00
homepage = "https://m-labs.hk/migen";
license = licenses.bsd2;
platforms = platforms.unix;
};
};
migen = python3Packages.buildPythonPackage rec {
2019-01-21 23:55:25 +08:00
name = "migen";
src = fetchFromGitHub {
owner = "m-labs";
repo = "migen";
2019-01-31 15:13:17 +08:00
rev = "afe4405becdbc76539f0195c319367187012b05e";
sha256 = "1f288a7ll1d1gjmml716wsjf1jyq9y903i2312bxb8pwrg7fwgvz";
};
2018-12-13 06:57:10 +08:00
# TODO: fix migen platform issues and re-enable tests
doCheck = false;
propagatedBuildInputs = with python3Packages; [ colorama sphinx sphinx_rtd_theme ] ++ (with pkgs; [ verilator ]);
meta = with stdenv.lib; {
description = "A Python toolbox for building complex digital hardware";
2019-01-02 16:04:25 +08:00
homepage = "https://m-labs.hk/migen";
license = licenses.bsd2;
platforms = platforms.unix;
};
};
2019-01-02 16:13:08 +08:00
microscope = python3Packages.buildPythonPackage rec {
2019-01-21 23:55:25 +08:00
name = "microscope";
2019-01-02 16:13:08 +08:00
src = fetchFromGitHub {
owner = "m-labs";
repo = "microscope";
rev = "02cffc360ec5a234c589de6cb9616b057ed22253";
sha256 = "09yvgk16xfv5r5cf55vcg0f14wam42w53r4snlalcyw5gkm0rlhq";
};
propagatedBuildInputs = with python3Packages; [ pyserial prettytable msgpack-python migen ];
meta = with stdenv.lib; {
description = "Finding the bacteria in rotting FPGA designs";
homepage = "https://m-labs.hk/migen";
license = licenses.bsd2;
platforms = platforms.unix;
};
};
2019-01-02 16:34:11 +08:00
jesd204b = python3Packages.buildPythonPackage rec {
2019-01-21 23:55:25 +08:00
name = "jesd204b";
2019-01-02 16:34:11 +08:00
src = fetchFromGitHub {
owner = "m-labs";
repo = "jesd204b";
2019-02-04 19:31:09 +08:00
rev = "2fd6391c0a9197580d60f7d8a146191dc7337b03";
sha256 = "1lhw8f0dp42xx4g6d7hyhqhrnd6i5ll4a1wcg265rqz3600i4009";
2019-01-02 16:34:11 +08:00
};
propagatedBuildInputs = with python3Packages; [ migen misoc ];
meta = with stdenv.lib; {
description = "JESD204B core for Migen/MiSoC";
homepage = "https://m-labs.hk/migen";
license = licenses.bsd2;
platforms = platforms.unix;
};
};
}