mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
usbutils: switch to pname + version
This commit is contained in:
parent
c99da90beb
commit
919ee68433
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user