a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
26 lines
809 B
Nix
26 lines
809 B
Nix
{ stdenv, fetchsvn, cmake, libusb-compat-0_1, libftdi }:
|
|
|
|
# The xc3sprog project doesn't seem to make proper releases, they only put out
|
|
# prebuilt binary subversion snapshots on sourceforge.
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "787";
|
|
pname = "xc3sprog";
|
|
|
|
src = fetchsvn {
|
|
url = "https://svn.code.sf.net/p/xc3sprog/code/trunk";
|
|
sha256 = "1rfhms3i7375kdlg0sdg5k52ix3xv5llj2dr30vamyg7pk74y8rx";
|
|
rev = version;
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libusb-compat-0_1 libftdi ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Command-line tools for programming FPGAs, microcontrollers and PROMs via JTAG";
|
|
homepage = "http://xc3sprog.sourceforge.net/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|