1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +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
, flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb-compat-0_1, readline
, flex, which, subversion, fetchurl, makeWrapper, libftdi1, libusb-compat-0_1, readline
, python3
, svfSupport ? true
, bsdlSupport ? true
@ -7,19 +7,18 @@
, jedecSupport ? true
}:
stdenv.mkDerivation {
version = "0.10";
stdenv.mkDerivation rec {
version = "2019.12";
pname = "urjtag";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/urjtag/svn/trunk/urjtag";
rev = "2051";
sha256 = "0pyl0y27136nr8mmjdml7zjnfnpbjmgqzkjk99j3hvj38k10wq7f";
src = fetchurl {
url = "https://downloads.sourceforge.net/project/urjtag/urjtag/${version}/urjtag-${version}.tar.xz";
sha256 = "1k2vmvvarik0q3llbfbk8ad35mcns7w1ln9gla1mn7z9c6x6x90r";
};
nativeBuildInputs = [ pkgconfig ];
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 = [
(stdenv.lib.enableFeature svfSupport "svf")
@ -28,8 +27,6 @@ stdenv.mkDerivation {
(stdenv.lib.enableFeature jedecSupport "jedec-exp")
];
preConfigure = "./autogen.sh";
meta = {
description = "Enhanced, modern tool for communicating over JTAG with flash chips, CPUs,and many more";
homepage = "http://urjtag.org/";