~ruther/nix-fpga

ref: f618f1a0e7c1ac5e3ff8b6b99ecc006cdcaef8bc nix-fpga/pkgs/xilinx/ise/usb-driver.nix -rw-r--r-- 459 bytes
f618f1a0 — Rutherther docs: update information about ISE since cable is fixed 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ fetchgit, multiStdenv, stdenv, libusb, libftdi, ... }:

multiStdenv.mkDerivation {
  pname = "ise-usb-driver";
  version = "1030";

  buildInputs = [
    libusb
    libftdi
  ];

  installPhase = ''
    mkdir -p $out/lib
    mv libusb-driver.so $out/lib/
  '';

  src = fetchgit {
    url = "git://git.zerfleddert.de/usb-driver";
    rev = "2d19c7cb325c8cd15b252dd5b8de7a643bb5295d";
    hash = "sha256-VQEnIuaEW1Kg0O9AYKs8hJKrNTVnOpzVIaFVDjn1Bpg=";
  };
}
Do not follow this link