Merge pull request #134554 from SuperSandro2000/usbutils

usbutils: switch to pname + version
This commit is contained in:
Ben Siraphob 2021-08-17 21:03:56 -05:00 committed by GitHub
commit 8098d8f4cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, substituteAll, autoreconfHook, pkg-config, libusb1, hwdata , python3 }:
{ lib, stdenv, fetchurl, substituteAll, autoreconfHook, pkg-config, libusb1, hwdata, python3 }:
stdenv.mkDerivation rec {
name = "usbutils-014";
pname = "usbutils";
version = "014";
src = fetchurl {
url = "mirror://kernel/linux/utils/usb/usbutils/${name}.tar.xz";
url = "mirror://kernel/linux/utils/usb/usbutils/usbutils-${version}.tar.xz";
sha256 = "sha256-Ogec+tYFYCJ7ZxkkgteBO/ljJvy7ZsBCVIOXFfJ2/Gk=";
};
@ -26,6 +27,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "http://www.linux-usb.org/";
description = "Tools for working with USB devices, such as lsusb";
maintainers = with maintainers; [ ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};