Commit Graph

43 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Sebastian Sellmeier
670a632529
powertop: change substitute for xset 2023-04-16 21:56:18 +02:00
Anthony Roussel
1b28b9c555
powertop: format with nixpkgs-fmt 2023-01-06 04:53:58 +01:00
Anthony Roussel
700dda2156
powertop: 2.14 -> 2.15 2023-01-06 04:53:55 +01:00
Anthony Roussel
7816224051
powertop: add anthonyroussel to maintainers 2023-01-06 04:52:03 +01:00
Sergei Trofimovich
51b4f7aebc powertop: pull upstream fix for ncurses-6.3
Without the fix build on ncurses-6.3 fails as:

    lib.cpp:586:24: error: format not a string literal and no format arguments [Werror=format-security]
      586 |         mvprintw(1, 0, notify);
          |                        ^~~~~~
2021-11-18 22:16:38 +00:00
Ryan Burns
f317fb8796 powertop: fix musl build
* remove obsolete musl patch (merged in c2a52f912d)
* clarify license
2021-10-14 20:20:09 -07:00
Franz Pletz
8a91213fd6
powertop: 2.13 -> 2.14 2021-07-28 22:21:06 +02: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
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07: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
Luke Bentley-Fox
41e9a5305b
powertop: strip hcitool FSH path
Fixes #99492
2020-10-17 22:48:38 +01:00
Will Dietz
8565fc75a1
powertop: 2.10 -> 2.13
https://01.org/powertop/downloads/powertop-v2.13
https://01.org/powertop/downloads/powertop-v2.12
2020-07-29 01:16:58 -05:00
Lila
7517299146
treewide: fix broken AlpineLinux repo links (#87892) 2020-05-15 16:58:27 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Will Dietz
a5a26cfa86 powertop: patch to fix vertical scrolling
From mailing list (thanks!).
2019-03-22 14:17:18 -05:00
Florian Friesdorf
fbef5ab82f Remove myself as maintainer from packages
I'm currently not maintaining any packages.
2019-02-22 16:14:13 +01:00
Will Dietz
7200eff868 powertop: 2.9 -> 2.10
musl patch still needed :)
2019-01-06 02:58:57 -06:00
Will Dietz
a3df96b381 powertop: patch for musl 2018-03-31 00:11:11 -05:00
Profpatsch
2a6c7aebcd powertop: split man page into "man" output 2018-02-19 12:16:18 +01:00
Franz Pletz
05cb49625d
powertop: 2.8 -> 2.9 2017-06-20 03:45:45 +02:00
Franz Pletz
f30f7d0cff
powertop: add homepage, cleanup 2016-10-14 00:02:30 +02:00
Peter Simons
b7badc6be0 powertop: call "xset" from $PATH
Patch the source code to find "xset" in $PATH rather than expecting the
hard-coded path "/usr/bin/xset" to work. I've decided *not* to hard-code
a proper path like "${xset}/bin/xset", because that reference greatly
increases the size of the powertop closure. Since "xset" is required
only for --calibrate (and that even seems to work fine without it), it
felt like an optional dependency is more appropriate in this case.

Thanks to @heydojo locating the source code file that needs patching.

Fixes https://github.com/NixOS/nixpkgs/issues/12662.
2016-01-31 21:44:36 +01:00
Louis Taylor
6ac550a3e9 powertop: 2.7 -> 2.8
Removed patch, since an equivalent fix was made upstream and included in
the 2.8 release.
2016-01-13 12:06:33 +00:00
Charles Strahan
b1edc7909a powertop: fix --auto-tune
See https://lists.01.org/pipermail/powertop/2014-December/001727.html
2015-10-15 14:27:09 -04:00
Tuomas Tynkkynen
88e43eb39b powertop: Patch out path to /sbin/modprobe (close #8702)
The modprobe call is made via system(), so an absolute path is not
needed if modprobe is in PATH. Which it is by default at least in
NixOS and Arch.

Fixes #5424.
2015-07-09 11:57:38 +02:00
Thomas Strobel
8fce0d3360 Update Powertop: 2.6.1 -> 2.7 2014-12-07 17:20:21 +01:00
Thomas Strobel
0b2b06f9a9 Upgrade: powertop: 2.5 -> 2.6.1 2014-08-14 12:54:21 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Nixpkgs Monitor
dc2cb043a9 powertop: update from 2.2 to 2.5 2013-12-23 05:22:37 +02:00
Vladimír Čunát
db63a24ac0 powertop: fix and update 2013-02-02 11:07:14 +01:00
Eelco Dolstra
634aa5020d module-init-tools: Fix URL 2013-01-15 18:53:12 +01:00
Mathijs Kwik
3ab9e5a38a powertop: upgrade to 2.1 2012-09-09 13:04:13 +02:00
Florian Friesdorf
a44af6bbc1 powertop-2.0
svn path=/nixpkgs/trunk/; revision=34451
2012-06-11 10:28:21 +00:00
Florian Friesdorf
9d12557783 powertop: modprobe configs if /proc/config.gz is missing
svn path=/nixpkgs/trunk/; revision=29822
2011-10-13 13:05:58 +00:00
Florian Friesdorf
1a54d4bbd6 powertop: renamed inotify patch
svn path=/nixpkgs/trunk/; revision=29821
2011-10-13 13:05:22 +00:00
Florian Friesdorf
abd410f804 fix powertop INOTIFY suggestion
INOTIFY_USER exists since 2.6.18

svn path=/nixpkgs/trunk/; revision=29810
2011-10-13 09:06:52 +00:00
Florian Friesdorf
dfd9a5906d powertop meta info
svn path=/nixpkgs/trunk/; revision=29807
2011-10-13 08:53:47 +00:00
Florian Friesdorf
0989227b08 fix powertop-1.13.patch
svn path=/nixpkgs/trunk/; revision=29806
2011-10-13 08:47:58 +00:00
Lluís Batlle i Rossell
af3e5b5050 Updating powertop.
svn path=/nixpkgs/trunk/; revision=26426
2011-03-18 20:44:35 +00:00
Armijn Hemel
a61ee3644c bump powertop to 1.11
svn path=/nixpkgs/trunk/; revision=14458
2009-03-09 13:53:48 +00:00
Armijn Hemel
bde6dd8990 new powertop
svn path=/nixpkgs/trunk/; revision=10932
2008-03-03 21:44:17 +00:00
Armijn Hemel
e0d357058b add powertop (www.linuxpowertop.org)
svn path=/nixpkgs/trunk/; revision=9358
2007-09-23 10:59:54 +00:00