Commit Graph

25 Commits

Author SHA1 Message Date
Artturin
25eef24033 treewide: Don't hardcode nix store in patchelf calls 2023-08-13 05:44:01 +03:00
Artturin
91e2f185c0 libsmbios: future proof RPATH fix 2023-07-31 07:32:49 +03:00
Artturi
f1d5f9766e
libsmbios: Fix build (#246264)
* libsmbios: Fix build

Since 5093766f79 TMPDIR is needed in
fixupPhase

RUNPATH before
```
$ , objdump -x ./result/bin/smbios-sys-info-lite | grep RUNPATH
  RUNPATH              /nix/store/hn044f8g9b2dfynljlm3nsr32g3pwqr1-libsmbios-2.4.3/lib:/nix/store/1x4ijm9r1a88qk7zcmbbfza324gx1aac-glibc-2.37-8/lib
```

RUNPATH after
```
$ , objdump -x ./result/bin/smbios-sys-info-lite | grep RUNPATH
  RUNPATH              /nix/store/l3ayxdl45xs6fam6b8n0j0fs34hj7gdq-libsmbios-2.4.3/lib:/nix/store/1x4ijm9r1a88qk7zcmbbfza324gx1aac-glibc-2.37-8/lib
```

* Update pkgs/os-specific/linux/libsmbios/default.nix
2023-07-31 07:14:30 +03:00
Alyssa Ross
a997c219d8 libsmbios: add musl patch
Upstream seems pretty dead, so I think a patch is the best we're going
to get here.  But on the other hand, that means the package isn't
likely to require a lot of maintenance that could be made more
difficult by having a patch around.
2023-01-31 20:44:59 +00:00
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
d7e67bf088 libsmbios: 2.4.2 -> 2.4.3 2020-02-10 13:30:19 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
5090cd8139 libsmbios: 2.4.1 -> 2.4.2 (#42983)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

Version release notes (from GitHub):
Compatibility changes to fix man page and includes in some installations

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-battery-ctl had a zero exit code or showed the expected version
- /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-get-ut-data passed the binary check.
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-keyboard-ctl had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-lcd-brightness had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-passwd had a zero exit code or showed the expected version
- /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-state-byte-ctl passed the binary check.
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-sys-info had a zero exit code or showed the expected version
- /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-sys-info-lite passed the binary check.
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-thermal-ctl had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-token-ctl had a zero exit code or showed the expected version
- /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-upflag-ctl passed the binary check.
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-wakeup-ctl had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2/bin/smbios-wireless-ctl had a zero exit code or showed the expected version
- 4 of 13 passed binary check by having a zero exit code.
- 4 of 13 passed binary check by having the new version present in output.
- found 2.4.2 with grep in /nix/store/38kz148d7anxsqcchlqmqjcb4mi34158-libsmbios-2.4.2
- directory tree listing: https://gist.github.com/117a562c97fde114f3fc3c00cd8747c4
- du listing: https://gist.github.com/1b95e63032cd1ceb958e443695bd5cd8
2018-07-09 00:19:32 +02:00
pbogdan
78fba374c4 libsmbios: re-enable python utilities (#39022) 2018-05-13 00:55:05 +02:00
Jan Tojnar
892740fe2f
libsmbios: 2.3.3 → 2.4.1 2018-02-22 13:18:22 +01:00
Renaud
11c92ba6ba libsmbios: 2.3.2 -> 2.3.3 2017-11-25 16:08:31 +01: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
Tuomas Tynkkynen
9aa998eb48 libsmbios: Only works on x86
https://hydra.nixos.org/build/60942499
2017-09-13 15:30:48 +03:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Vladimír Čunát
65ede052fa
treewide: fixup packages with RPATH problems 2017-05-16 18:30:58 +02:00
Shea Levy
72ff466de3 libsmbios: 2.2.28 -> 2.3.2 2017-02-27 08:30:46 -05:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Peter Simons
e543b455df libsmbios: updated to version 2.2.28 to fix build errors with GCC 4.6.1
svn path=/nixpkgs/trunk/; revision=29684
2011-10-06 10:23:31 +00:00
Eelco Dolstra
06e126b48f * Latest libsmbios.
* Build HAL with libsmbios support.

svn path=/nixpkgs/trunk/; revision=17472
2009-09-28 15:33:42 +00:00
Eelco Dolstra
94d7d1fdbb * Got rid of all --disable-static flags; they're redundant now.
* Also a bunch of style cleanups (tabs, with args, ...).

svn path=/nixpkgs/branches/stdenv-updates/; revision=15235
2009-04-21 23:18:09 +00:00
Eelco Dolstra
ec9a796ee6 * libsmbios updated to 2.0.3, which builds on GCC 4.3.
There is a newer version (2.2.x), but it requires Python,
  which I'd rather avoid in the NixOS base system (it's
  already large enough).

svn path=/nixpkgs/branches/stdenv-updates/; revision=14047
2009-02-12 19:18:16 +00:00
Eelco Dolstra
cb3b10a646 * Added libsmbios for access to Dell-specific hardware features.
* Added more optional Hal dependencies.

svn path=/nixpkgs/trunk/; revision=8844
2007-06-07 22:02:12 +00:00