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

26 lines
782 B
Nix
Raw Normal View History

2020-04-28 04:29:39 +01:00
{ 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 {
2016-11-04 15:23:43 +00:00
version = "787";
pname = "xc3sprog";
2019-08-13 22:52:01 +01:00
src = fetchsvn {
url = "https://svn.code.sf.net/p/xc3sprog/code/trunk";
2016-11-04 15:23:43 +00:00
sha256 = "1rfhms3i7375kdlg0sdg5k52ix3xv5llj2dr30vamyg7pk74y8rx";
2019-09-09 00:38:31 +01:00
rev = version;
};
2020-04-28 04:29:39 +01:00
buildInputs = [ cmake 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 ];
};
}