Commit Graph

44 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
a0d022d0f4 treewide: use finalAttrs.finalPackage.doCheck 2026-07-18 18:23:21 +02:00
Diego
f60b3ffdd5 nvtop: Migrate to cudaPackages 2026-05-17 20:03:25 +02:00
Harinn
86ca0e7ab3 nvtop: 3.3.1 -> 3.3.2 2026-02-10 14:46:10 +07:00
Harinn
57cd1b2c88 nvtop: 3.2.0 -> 3.3.1 2026-02-07 21:16:24 +07:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Randy Eckenrode
a0686081fe nvtopPackages.apple: use default SDK on Darwin (14.4) 2025-10-09 18:23:30 -04:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
Ben Siraphob
04b0a4711b treewide: standardize descriptions according to style guide (#430180) 2025-08-11 07:32:59 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
WilliButz
356d4fc91c treewide: remove myself from maintainers
This removes maintainer entries which haven't reflected reality for a
while, mostly due to a change in focus towards other topics.
2025-06-11 17:39:42 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
gbtb
0f9dd70c54 nvtopPackages.full: 3.1.0 -> 3.2.0 (#395432) 2025-04-06 23:04:32 +02:00
Peder Bergebakken Sundt
e171199c50 treewide: replace stdenv.is with stdenv.hostPlatform.is 2025-03-26 23:14:22 +01:00
Marie Ramlow
30b3b966c7 nvtop: fix meta.platforms 2024-11-23 13:20:26 +01:00
moni
088ac6b39e nvtopPackages: set platform accordingly 2024-11-21 00:12:37 +08:00
moni
37cf6e3ee6 nvtopPackages: format 2024-11-21 00:09:10 +08:00
moni
84e9fd9db5 nvtopPackages.full: mutually exclude gpus for darwin and linux 2024-11-21 00:08:05 +08:00
moni
b80d0435e4 nvtopPackages.apple: darwin support 2024-11-16 09:46:30 +08:00
Philip Taron
f1ab9757fd nvtop: remove with statements 2024-08-18 06:32:23 -07:00
Sefa Eyeoglu
416ba8804b treewide: use addDriverRunpath
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-30 15:01:01 -04:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
gbtb
7c3a738418 nvtop: fixed build with drm, added more arm gpu support 2024-03-20 00:15:38 +10:00
R. Ryantm
c0d67ddff4 nvtop: 3.0.2 -> 3.1.0 2024-02-23 22:37:12 +00:00
Sandro Jäckel
fccf04b620 treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType 2023-09-08 14:18:26 +00:00
Anthony Roussel
6a98b124b3 nvtop: 3.0.1 -> 3.0.2
See https://github.com/Syllo/nvtop/releases/tag/3.0.2
2023-08-16 21:30:07 +02:00
Anthony Roussel
547f2797b4 nvtop: fix build
Use udev over systemd as recommended with the AppImage build.

Fixes #201340
2022-11-16 22:30:28 +01:00
Anthony Roussel
05dd7ec2a3 nvtop: add passthru.tests.version 2022-11-16 22:15:16 +01:00
Anthony Roussel
22a77842fc nvtop: add anthonyroussel to maintainers 2022-11-10 22:14:24 +01:00
Anthony Roussel
1d344d6d64 nvtop: 2.0.4 -> 3.0.1 2022-11-10 22:14:22 +01:00
Daniel Nagy
cfce957d4f treewide: more meta changelog urls and mainPrograms (#200062)
* turbovnc: add changelog url

* memray: add changelog url

* ddcutil: add changelog url

* jc: add changelog url

* zed: add changelog url

* lua: use https homepage

* sil: use https url

* the-powder-toy: use https homepage

* tldr: add changelog url

* openjpeg: add changelog url

* scheme48: use https homepage

* bubblewrap: set meta.mainProgram

* zbar: set meta.mainProgram

* qpdf: add changelog url

* nvtop: set meta.mainProgram

* squashfs: add meta.mainProgram
2022-11-09 16:41:13 +01:00
gbtb
c04611da26 nvtop: 2.0.3->2.0.4 2022-10-03 21:02:57 +10:00
gbtb
22b097e86b nvtop: 2.0.2->2.0.3 2022-09-13 11:59:41 +10:00
gbtb
857208f207 nvtop: 2.0.1 -> 2.0.2 2022-06-14 00:25:17 +10:00
gbtb
91ac8a7cd2 nvtop: 1.2.2 -> 2.0.1
With addition of AMD GPU support added two additional variants for amd
or nvidia separately
2022-04-24 15:15:11 +02:00
R. RyanTM
ee19862567 nvtop: 1.1.0 -> 1.2.2 2021-08-17 10:38:02 -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
R. RyanTM
e505956b94 nvtop: 1.0.0 -> 1.1.0 2020-12-04 18:19:54 +00:00
Josef Kemetmüller
0996ac6b0e nvtop: Make independent of Nvidia driver version
For packages relying on Nvidia drivers we don't want to hard-code the
location of a particular driver version in the RPATH. Otherwise the
software might fail with errors such as:

> Impossible to initialize nvidia nvml : Driver/library version mismatch

To fix this the usual pattern in nixpkgs is to add `/run/opengl-driver/lib`
to the RPATH of these binaries.
This is the global location where Nvidia libraries are available on
NixOS and so this makes sure that the nvtop binary can be run with all
versions of the driver.

At build time however these libraries are not available at that
particular location. For precisely this use case, Nvidia ships stub
versions of the driver libraries with the cudatoolkit. So we just need
to point CMake to that directory.

Fixes: #98328
2020-09-21 08:43:43 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +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
Mateusz Kowalczyk
2b8ca28020 nvtop: 0.2.2 -> 1.0.0 2019-01-25 10:19:30 +09:00
WilliButz
781206217e nvtop: use version-independent libnvidia-ml.so symlink 2018-10-01 23:40:21 +02:00
WilliButz
354a477f0f nvtop: init at 0.2.2 2018-08-06 22:44:29 +02:00