2020-04-28 05:29:39 +02:00
|
|
|
{ stdenv, fetchsvn, cmake, libusb-compat-0_1, libftdi }:
|
2013-10-26 09:38:31 +02:00
|
|
|
|
|
|
|
# The xc3sprog project doesn't seem to make proper releases, they only put out
|
|
|
|
# prebuilt binary subversion snapshots on sourceforge.
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-04 16:23:43 +01:00
|
|
|
version = "787";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "xc3sprog";
|
2013-10-26 09:38:31 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
src = fetchsvn {
|
2013-10-26 09:38:31 +02:00
|
|
|
url = "https://svn.code.sf.net/p/xc3sprog/code/trunk";
|
2016-11-04 16:23:43 +01:00
|
|
|
sha256 = "1rfhms3i7375kdlg0sdg5k52ix3xv5llj2dr30vamyg7pk74y8rx";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2013-10-26 09:38:31 +02:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libusb-compat-0_1 libftdi ];
|
2013-10-26 09:38:31 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Command-line tools for programming FPGAs, microcontrollers and PROMs via JTAG";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://xc3sprog.sourceforge.net/";
|
2013-10-26 09:38:31 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|