xc3sprog: new package

xc3sprog is command-line tools for programming FPGAs, microcontrollers
and PROMs via JTAG.

Homepage: http://xc3sprog.sourceforge.net/

I'm using the latest from subversion as xc3sprog doesn't seem to make
proper releases. There are only a few seemingly random snapshots at
sourceforge. And these snapshots are built binary packages, not source
archives.

NOTE: I haven't tested this on any hardware yet.
This commit is contained in:
Bjørn Forsman 2013-10-26 09:38:31 +02:00
parent 200d629733
commit a13ed71b43
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchsvn, cmake, libusb, 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 = "748"; # latest @ 2013-10-26
name = "xc3sprog-${version}";
src = fetchsvn rec {
url = "https://svn.code.sf.net/p/xc3sprog/code/trunk";
sha256 = "0wkz6094kkqz91qpa24pzlbhndc47sjmqhwk3p7ccabv0041rzk0";
rev = "${version}";
};
buildInputs = [ cmake libusb 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 ];
};
}

View File

@ -3812,6 +3812,8 @@ let
valkyrie = callPackage ../development/tools/analysis/valkyrie { };
xc3sprog = callPackage ../development/tools/misc/xc3sprog { };
xxdiff = callPackage ../development/tools/misc/xxdiff { };
yacc = bison;