nixpkgs/pkgs/development/tools/misc/xc3sprog/default.nix

26 lines
777 B
Nix
Raw Normal View History

{ 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 {
2016-11-04 16:23:43 +01:00
version = "787";
name = "xc3sprog-${version}";
src = fetchsvn rec {
url = "https://svn.code.sf.net/p/xc3sprog/code/trunk";
2016-11-04 16:23:43 +01:00
sha256 = "1rfhms3i7375kdlg0sdg5k52ix3xv5llj2dr30vamyg7pk74y8rx";
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 ];
};
}