mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
a13ed71b43
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.
26 lines
799 B
Nix
26 lines
799 B
Nix
{ 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 ];
|
|
};
|
|
}
|