tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
usbutils: 012 -> 013
Sebastian Sellmeier
4 years ago
bafd47b3
66607564
+4
-9
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
usbutils
default.nix
fix-paths.patch
+2
-2
pkgs/os-specific/linux/usbutils/default.nix
···
1
1
{ lib, stdenv, fetchurl, substituteAll, autoreconfHook, pkg-config, libusb1, hwdata , python3 }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
-
name = "usbutils-012";
4
4
+
name = "usbutils-013";
5
5
6
6
src = fetchurl {
7
7
url = "mirror://kernel/linux/utils/usb/usbutils/${name}.tar.xz";
8
8
-
sha256 = "0iiy0q7fzikavmdsjsb0sl9kp3gfh701qwyjjccvqh0qz4jlcqw8";
8
8
+
sha256 = "0f0klk6d3hmbpf6p4dcwa1qjzblmkhbxs1wsw87aidvqri7lj8wy";
9
9
};
10
10
11
11
patches = [
+2
-7
pkgs/os-specific/linux/usbutils/fix-paths.patch
···
1
1
--- a/Makefile.am
2
2
+++ b/Makefile.am
3
3
-
@@ -51,11 +51,11 @@
4
4
-
usbreset.c
3
3
+
@@ -61,7 +61,7 @@ EXTRA_DIST = \
4
4
+
LICENSES/GPL-3.0-only.txt
5
5
6
6
lsusb.py: $(srcdir)/lsusb.py.in
7
7
- sed 's|VERSION|$(VERSION)|g;s|@usbids@|$(datadir)/usb.ids|g' $< >$@
···
9
9
chmod 755 $@
10
10
11
11
lsusb.8: $(srcdir)/lsusb.8.in
12
12
-
- sed 's|VERSION|$(VERSION)|g;s|@usbids@|$(datadir)/usb.ids|g' $< >$@
13
13
-
+ sed 's|VERSION|$(VERSION)|g;s|@usbids@|@hwdata@/share/hwdata/usb.ids|g' $< >$@
14
14
-
15
15
-
usb-devices.1: $(srcdir)/usb-devices.1.in
16
16
-
sed 's|VERSION|$(VERSION)|g' $< >$@