Compare commits
No commits in common. "584dba9ed0f0e91919ce66e6be0f93a3510ad8df" and "466d85e719e7bcee73bb5937566f10fc0f7cb497" have entirely different histories.
584dba9ed0
...
466d85e719
|
@ -3,7 +3,6 @@ rec {
|
|||
yosys = pkgs.callPackage ./eda/yosys.nix {};
|
||||
symbiyosys = pkgs.symbiyosys.override { inherit yosys; };
|
||||
nmigen = pkgs.callPackage ./eda/nmigen.nix { inherit yosys; };
|
||||
scala-spinalhdl = pkgs.callPackage ./eda/scala-spinalhdl.nix {};
|
||||
|
||||
jtagtap = pkgs.callPackage ./cores/jtagtap.nix { inherit nmigen; };
|
||||
minerva = pkgs.callPackage ./cores/minerva.nix { inherit nmigen; inherit jtagtap; };
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
{ runCommand, fetchurl, makeWrapper, scala_2_11 }:
|
||||
|
||||
let
|
||||
jars = [
|
||||
(fetchurl {
|
||||
url = http://central.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar;
|
||||
sha256 = "108mw2v8ncig29kjvzh8wi76plr01f4x5l3b1929xk5a7vf42snc";
|
||||
})
|
||||
(fetchurl {
|
||||
url = http://central.maven.org/maven2/org/yaml/snakeyaml/1.8/snakeyaml-1.8.jar;
|
||||
sha256 = "1z0ybg8azqanrhqjbr57n6sflm7scfxik99j070f9zk7g6ykcl9g";
|
||||
})
|
||||
(fetchurl {
|
||||
url = https://oss.sonatype.org/content/groups/public/com/github/scopt/scopt_2.11/3.4.0/scopt_2.11-3.4.0.jar;
|
||||
sha256 = "0y9av2rpnaj3z9zg4chfpxgjx3xqqx9bzcv0jr3n9h4v5fqbc52r";
|
||||
})
|
||||
(fetchurl {
|
||||
url = https://oss.sonatype.org/content/groups/public/com/github/spinalhdl/spinalhdl-core_2.11/1.3.2/spinalhdl-core_2.11-1.3.2.jar;
|
||||
sha256 = "0l6156n6b7jdg4sddv1kg26yadypccjaqgb0c2ca4r4m9z6s2ww7";
|
||||
})
|
||||
(fetchurl {
|
||||
url = https://oss.sonatype.org/content/groups/public/com/github/spinalhdl/spinalhdl-lib_2.11/1.3.2/spinalhdl-lib_2.11-1.3.2.jar;
|
||||
sha256 = "0x3ci6ypisq5m62gsf9g01sqh0qhjfayfpl4r3fffx73xpzfq4h2";
|
||||
})
|
||||
(fetchurl {
|
||||
url = https://oss.sonatype.org/content/groups/public/com/github/spinalhdl/spinalhdl-sim_2.11/1.3.2/spinalhdl-sim_2.11-1.3.2.jar;
|
||||
sha256 = "0nvg6phr3rcffkamzrvvl44sd5y4scdy2r3jzk660939vxcz0605";
|
||||
})
|
||||
];
|
||||
fmtJars = builtins.concatStringsSep ":" (builtins.map (x: "${x}") jars);
|
||||
in
|
||||
runCommand "scala-spinalhdl" { nativeBuildInputs = [ makeWrapper ]; }
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${scala_2_11}/bin/scala $out/bin/scala-spinalhdl --prefix CLASSPATH : ${fmtJars}
|
||||
''
|
Loading…
Reference in New Issue