mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
usb_modeswitch: remove unneeded dependencies
This commit is contained in:
parent
bd831b4a07
commit
83970f5cbc
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libusb1, tcl, usb-modeswitch }:
|
||||
{ stdenv, fetchurl, tcl, usb-modeswitch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "usb-modeswitch-data-${version}";
|
||||
@ -15,10 +15,9 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's@usb_modeswitch@${usb-modeswitch}/bin/usb_modeswitch@g' 40-usb_modeswitch.rules
|
||||
'';
|
||||
|
||||
buildInputs = [ libusb1 usb-modeswitch ];
|
||||
# we add tcl here so we can patch in support for new devices by dropping config into
|
||||
# the usb_modeswitch.d directory
|
||||
nativeBuildInputs = [ pkgconfig tcl ];
|
||||
nativeBuildInputs = [ tcl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Device database and the rules file for 'multi-mode' USB devices";
|
||||
|
Loading…
Reference in New Issue
Block a user