mirror of https://github.com/m-labs/artiq.git
nix: add microscope
This commit is contained in:
parent
7a6bdcb041
commit
d42d607547
|
@ -16,7 +16,7 @@ in
|
||||||
xorg.libXext
|
xorg.libXext
|
||||||
xorg.libXtst
|
xorg.libXtst
|
||||||
xorg.libXi
|
xorg.libXi
|
||||||
(python3.withPackages(ps: with ps; [ jinja2 numpy artiqpkgs.migen artiqpkgs.misoc artiqpkgs.artiq ]))
|
(python3.withPackages(ps: with ps; [ jinja2 numpy artiqpkgs.migen artiqpkgs.microscope artiqpkgs.misoc artiqpkgs.artiq ]))
|
||||||
] ++
|
] ++
|
||||||
(with artiqpkgs; [
|
(with artiqpkgs; [
|
||||||
rustc
|
rustc
|
||||||
|
|
|
@ -9,7 +9,7 @@ let
|
||||||
llvm-src = callPackage ./fetch-llvm-clang.nix {};
|
llvm-src = callPackage ./fetch-llvm-clang.nix {};
|
||||||
in rec {
|
in rec {
|
||||||
inherit (rust) cargo rustc;
|
inherit (rust) cargo rustc;
|
||||||
inherit (callPackage ./pkgs/python3Packages.nix {}) migen misoc;
|
inherit (callPackage ./pkgs/python3Packages.nix {}) migen microscope misoc;
|
||||||
binutils-or1k = callPackage ./pkgs/binutils-or1k.nix {};
|
binutils-or1k = callPackage ./pkgs/binutils-or1k.nix {};
|
||||||
llvm-or1k = callPackage ./pkgs/llvm-or1k.nix { inherit llvm-src; };
|
llvm-or1k = callPackage ./pkgs/llvm-or1k.nix { inherit llvm-src; };
|
||||||
llvmlite = callPackage ./pkgs/llvmlite.nix { inherit llvm-or1k; };
|
llvmlite = callPackage ./pkgs/llvmlite.nix { inherit llvm-or1k; };
|
||||||
|
|
|
@ -73,4 +73,25 @@ rec {
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
microscope = python3Packages.buildPythonPackage rec {
|
||||||
|
version = "git-02cffc";
|
||||||
|
pname = "microscope";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue