mxu11x0: 1.3 -> 1.4 (#59600)

* mxu11x0: 1.3 -> 1.4

* Remove unnecessary imports

* mxu11x0: refresh meta
wip/yesman
uralbash 5 years ago committed by Renaud
parent 756c84f590
commit c90808ba21
  1. 17
      pkgs/os-specific/linux/mxu11x0/default.nix

@ -1,13 +1,11 @@
{ stdenv, fetchFromGitHub, kernel }:
{ stdenv, fetchurl, kernel }:
stdenv.mkDerivation {
name = "mxu11x0-1.3.11+git2017-07-13-${kernel.version}";
name = "mxu11x0-1.4-${kernel.version}";
src = fetchFromGitHub {
owner = "ellysh";
repo = "mxu11x0";
rev = "cbbb5ec2045939209117cb5fcd6c7c23bcc109ef";
sha256 = "0wf44pnz5aclvg2k1f8ljnwws8hh6191i5h06nz95ijbxhwz63w4";
src = fetchurl {
url = "https://www.moxa.com/Moxa/media/PDIM/S100000385/moxa-uport-1000-series-linux-3.x-and-4.x-for-uport-11x0-series-driver-v1.4.tgz";
sha256 = "1hz9ygabbp8pv49k1j4qcsr0v3zw9xy0bh1akqgxp5v29gbdgxjl";
};
preBuild = ''
@ -30,10 +28,9 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
description = "MOXA UPort 11x0 USB to Serial Hub driver";
homepage = https://github.com/ellysh/mxu11x0;
license = licenses.gpl1;
homepage = https://www.moxa.com/en/products/industrial-edge-connectivity/usb-to-serial-converters-usb-hubs/usb-to-serial-converters/uport-1000-series;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ uralbash ];
platforms = platforms.linux;
broken = versionOlder kernel.version "4.9" || !versionOlder kernel.version "4.13";
};
}

Loading…
Cancel
Save