Commit Graph

30 Commits

Author SHA1 Message Date
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
d1419b9df0 usbutils: 010 -> 012
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/usbutils/versions
2019-05-14 09:48:45 +02:00
geistesk
4893aeae7a usbutils: usbutilsFull with Python3 for lsusb.py 2019-02-16 20:53:33 +00:00
Jan Tojnar
8560887e88
usbutils: fix usb.ids path
The utility switched from /usr/share to ${datadir}, but it is still not enough
for use. It would be nice if upstream provided configure flag.
2018-12-01 15:37:19 +01:00
Jan Tojnar
eadd086834 hwdata: 0.314 → 0.316 2018-10-26 21:22:25 +02:00
Markus Kowalewski
85c3661c08
usbutils: add license 2018-08-30 22:00:16 +02:00
R. RyanTM
b1b49e114b usbutils: 009 -> 010 (#40635)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/usbutils/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/wgq4wwb9dxnhkbih9jscikf2lxhdvbkl-usbutils-010/bin/lsusb.py had a zero exit code or showed the expected version
- /nix/store/wgq4wwb9dxnhkbih9jscikf2lxhdvbkl-usbutils-010/bin/usbhid-dump passed the binary check.
- /nix/store/wgq4wwb9dxnhkbih9jscikf2lxhdvbkl-usbutils-010/bin/lsusb passed the binary check.
- /nix/store/wgq4wwb9dxnhkbih9jscikf2lxhdvbkl-usbutils-010/bin/usb-devices passed the binary check.
- 3 of 4 passed binary check by having a zero exit code.
- 1 of 4 passed binary check by having the new version present in output.
- found 010 with grep in /nix/store/wgq4wwb9dxnhkbih9jscikf2lxhdvbkl-usbutils-010
- directory tree listing: https://gist.github.com/ea1dc2aa0de1416d4359481ce7edb85e
- du listing: https://gist.github.com/f46f6ac9b995df459105446dc2761e28
2018-05-18 01:23:42 +02:00
Tuomas Tynkkynen
a43ec91901 usbutils: 008 -> 009 2017-11-29 23:40:33 +02:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Eelco Dolstra
81dfb2c948 Fix usbutils
More #7524.

http://hydra.nixos.org/build/22211118
2015-05-15 11:10:03 +02:00
William A. Kennington III
08995697de usbutils: 007 -> 008 2015-03-26 12:00:34 -07:00
Eelco Dolstra
2ed5c2bd6b Set some meta.platforms
Also fix meta.platform -> meta.platforms in a few places.
2015-03-20 20:04:42 +01:00
Eelco Dolstra
15f293e0e6 usbutils: Update USB IDs
Also, don't install update-usbids.sh (doesn't make sense) and fix
lsusb.py.
2013-10-14 12:47:04 +02:00
Vladimír Čunát
0a30727ca0 usbutils: update 006 -> 007 2013-07-06 11:55:40 +02:00
Eelco Dolstra
acba9240cd nixos.org/tarballs -> tarballs.nixos.org
It's currently the same machine, but tarballs.nixos.org should become
an S3/CloudFront site eventually.
2013-06-25 14:12:16 +02:00
Eelco Dolstra
f2ccebcae4 usbutils: Update to 006 2012-09-28 23:20:59 -04:00
Eelco Dolstra
41840af689 * Add a setup hook ‘autoreconfHook’ to simplify packages that need to
run autoreconf:

    buildInputs = [ autoreconfHook ];

  is essentially equivalent to

    buildInputs = [ autoconf automake libtool ];
    preConfigure = "autoreconf -i";

svn path=/nixpkgs/branches/x-updates/; revision=34181
2012-05-19 02:52:36 +00:00
Eelco Dolstra
76c0be09f8 * Updated usbutils to 005. (Upstream decided to restart numbering
versions from 001.  Urgh.)

svn path=/nixpkgs/branches/x-updates/; revision=34180
2012-05-19 00:44:30 +00:00
Eelco Dolstra
ca74fa40db * Updated the USB IDs.
svn path=/nixpkgs/branches/x-updates/; revision=34179
2012-05-19 00:14:33 +00:00
Shea Levy
819198fba0 usbutils: The sourceforge site doesn't appear to have the tarball anymore, use kernel mirror
svn path=/nixpkgs/trunk/; revision=30089
2011-10-28 21:11:27 +00:00
Eelco Dolstra
2f6c7cd3dd * Latest pciutils and usbutils, along with the latest PCI and USB IDs.
svn path=/nixpkgs/branches/x-updates/; revision=22687
2010-07-21 12:01:57 +00:00
Eelco Dolstra
c2737e315a * usbutils updated to 0.84.
* usb.ids updated to the latest version.

svn path=/nixpkgs/trunk/; revision=16681
2009-08-11 20:48:56 +00:00
Eelco Dolstra
aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Eelco Dolstra
4bbd0d9aad * Latest usbutils, usb.ids.
svn path=/nixpkgs/trunk/; revision=10219
2008-01-18 15:18:02 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Eelco Dolstra
e562d4c021 * Added HAL.
svn path=/nixpkgs/trunk/; revision=8835
2007-06-05 15:57:26 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
050fd281cd add usbutils
svn path=/nixpkgs/trunk/; revision=4491
2006-01-04 23:29:29 +00:00