~ruther/nix-fpga

nix-fpga/pkgs/xilinx/ise/fw.nix -rw-r--r-- 276 bytes
0a072151 — Rutherther feat: add vitis 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
{ pkgs, ... }:

pkgs.stdenv.mkDerivation {
  name = "xilinx-jtag-fw";
  phases = ["unpackPhase" "installPhase"];
  src = ./fw;
  installPhase = ''
    mkdir -p $out/share $out/etc/hotplug/usb/xusbdfwu.fw
    cp * $out/share/
    cp * $out/etc/hotplug/usb/xusbdfwu.fw/
  '';
}
Do not follow this link