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:
		
							parent
							
								
									200d629733
								
							
						
					
					
						commit
						a13ed71b43
					
				
							
								
								
									
										25
									
								
								pkgs/development/tools/misc/xc3sprog/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								pkgs/development/tools/misc/xc3sprog/default.nix
									
									
									
									
									
										Normal 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 ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user