1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00

Merge pull request #90083 from yrashk/urjtag-2019.2

urjtag: 0.10 -> 2019.2
This commit is contained in:
Ryan Mulligan 2020-11-23 20:28:00 -08:00 committed by GitHub
commit 486a5b6c24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison { stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison
, flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb-compat-0_1, readline , flex, which, subversion, fetchurl, makeWrapper, libftdi1, libusb-compat-0_1, readline
, python3 , python3
, svfSupport ? true , svfSupport ? true
, bsdlSupport ? true , bsdlSupport ? true
@ -7,19 +7,18 @@
, jedecSupport ? true , jedecSupport ? true
}: }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
version = "0.10"; version = "2019.12";
pname = "urjtag"; pname = "urjtag";
src = fetchsvn { src = fetchurl {
url = "svn://svn.code.sf.net/p/urjtag/svn/trunk/urjtag"; url = "https://downloads.sourceforge.net/project/urjtag/urjtag/${version}/urjtag-${version}.tar.xz";
rev = "2051"; sha256 = "1k2vmvvarik0q3llbfbk8ad35mcns7w1ln9gla1mn7z9c6x6x90r";
sha256 = "0pyl0y27136nr8mmjdml7zjnfnpbjmgqzkjk99j3hvj38k10wq7f";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gettext autoconf automake libtool bison flex which buildInputs = [ gettext autoconf automake libtool bison flex which
subversion makeWrapper readline libftdi libusb-compat-0_1 python3 ]; subversion makeWrapper readline libftdi1 libusb-compat-0_1 python3 ];
configureFlags = [ configureFlags = [
(stdenv.lib.enableFeature svfSupport "svf") (stdenv.lib.enableFeature svfSupport "svf")
@ -28,8 +27,6 @@ stdenv.mkDerivation {
(stdenv.lib.enableFeature jedecSupport "jedec-exp") (stdenv.lib.enableFeature jedecSupport "jedec-exp")
]; ];
preConfigure = "./autogen.sh";
meta = { meta = {
description = "Enhanced, modern tool for communicating over JTAG with flash chips, CPUs,and many more"; description = "Enhanced, modern tool for communicating over JTAG with flash chips, CPUs,and many more";
homepage = "http://urjtag.org/"; homepage = "http://urjtag.org/";