81 Commits

Author SHA1 Message Date
R. Ryantm f509866540 conky: 1.22.2 -> 1.22.3 2026-03-05 15:22:34 +00:00
quantenzitrone 5e4a1bdd9c various: rename references from libXinerama to libxinerama
this shouldn't create any rebuilds
2026-02-06 00:25:42 +01:00
quantenzitrone e733896f5a various: rename references from libXdamage to libxdamage
this shouldn't create any rebuilds
2026-02-06 00:24:46 +01:00
quantenzitrone 7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Philip Taron feb4539536 versionCheckHook: Check for --version first (#463218) 2025-11-26 16:19:36 +00:00
Jonathan Davies 116036d574 treewide: Remove redundant versionCheckProgramArg = "--version"; with:
```shell
git grep -l -e 'versionCheckProgramArg = "--version";' -e 'versionCheckProgramArg = \[ "--version" \];' | while read f; do
  sed -i '/versionCheckProgramArg/d' "$f"
  sed -i '/^$/N;/\n$/D' "$f"
done
```
2025-11-20 10:39:02 +00:00
dotrosedotnet 3fd4f67347 conky: add missing X11 dependencies (libXfixes, expat) 2025-11-07 23:29:44 +01:00
wrvsrx 47281f1b0c conky: fix build failure 2025-10-23 14:19:54 +08:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Stefan Frijters 81ff0b61e6 conky: 1.22.1 -> 1.22.2 2025-07-06 14:32:57 +02:00
Stefan Frijters cefebce003 conky: fix cross and docs, update derivation to match upstream settings and recommendations
drop WEATHER flags that were removed upstream

https://github.com/brndnmtthws/conky/pull/1245

conky: fix doc build

This also removes the MAINTAINER_MODE flag as per

https://github.com/brndnmtthws/conky/issues/2131#issuecomment-2571425256
https://github.com/NixOS/nixpkgs/issues/371064

conky: add extrasSupport

conky: enable parallel building

Probably fixed in https://github.com/brndnmtthws/conky/pull/1207

conky: enable reproducible build

https://github.com/NixOS/nixpkgs/issues/371064

conky: fix tests

As per https://github.com/NixOS/nixpkgs/issues/371064

conky: use lib.cmakeBool

conky: remove wayland-scanner hack

conky: remove RELEASE hack

conky: move extra outputs to output

conky: fix cross

conky: remove redundant NIX_CFLAGS_COMPILE

conky: remove redundant NIX_LDFLAGS
2025-05-19 21:05:49 +02:00
emaryn 59575cfcd0 conky: 1.19.6 -> 1.22.1
Diff: https://github.com/brndnmtthws/conky/compare/v1.19.6...v1.22.1

Changelog: https://github.com/brndnmtthws/conky/releases/tag/v1.22.1
2025-05-16 15:24:54 +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
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Felix Buehler 95cf21bab2 conky: remove 'with lib;' 2024-08-16 16:09:03 +02:00
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
Colin ac80e19d8c conky: remove upstreamed patch
the CheckIncludeFile -> CheckIncludeFiles fix previously addressed by
our postPatch code was merged into conky here:
https://github.com/brndnmtthws/conky/commit/3a574ba88b8ee8dffe748bb7f6af9d240314f994
2024-01-01 14:20:05 +00:00
Colin 8252af0d74 conky: enable Wayland support 2024-01-01 14:17:42 +00:00
Colin 1f014124f6 conky: support cross compilation 2024-01-01 14:17:19 +00:00
R. Ryantm cedb1ed6a0 conky: 1.19.5 -> 1.19.6 2023-11-02 06:15:47 +00:00
R. Ryantm af7fa0e762 conky: 1.19.4 -> 1.19.5 2023-10-11 12:40:57 +00:00
R. Ryantm f17c50a60d conky: 1.19.3 -> 1.19.4 2023-08-23 00:22:40 +00:00
R. Ryantm 776347d57a conky: 1.19.2 -> 1.19.3 2023-08-13 01:57:18 +00:00
Stefan Frijters 5dfbc782c1 conky: 1.18.0 -> 1.19.2 2023-07-12 12:44:13 +02:00
tranquillity-codes 212f20a907 conky: clean up compiler flags 2023-07-12 07:55:13 +02:00
tranquillity-codes dc1cfc59ef conky: lua 5.3 -> lua 5.4 2023-07-12 07:55:13 +02:00
tranquillity-codes e601e9b07a conky: 1.13.1 -> 1.18.0 2023-07-12 07:55:13 +02:00
Ferry Jérémie 65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Sergei Trofimovich c0f308b787 conky: use xorg.* packages directly instead of xlibsWrapper indirection
Validated as no change in `out` output with `diffoscope`.
2022-10-09 10:04:52 +01:00
R. Ryantm c4ee6537fa conky: 1.12.2 -> 1.13.1 2022-09-20 06:36:05 +00:00
Maximilian Bosch 0bdcc48485 conky: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/155171697
2022-02-27 10:26:50 +01:00
R. RyanTM df6b666353 conky: 1.12.1 -> 1.12.2 2021-04-25 21:14:42 +00:00
R. RyanTM 4c3ad2c1fc conky: 1.11.6 -> 1.12.1 2021-03-02 20:26:21 +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
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
R. RyanTM afaf5d5d43 conky: 1.11.5 -> 1.11.6 2020-07-31 00:37:27 -07:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk f65aa21bb2 Merge master into staging-next 2019-08-18 12:53:44 +02:00
R. RyanTM 1632ca535f conky: 1.11.3 -> 1.11.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/conky/versions
2019-08-17 15:25:07 -07: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 fcc50e80b8 conky: 1.11.2 -> 1.11.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/conky/versions
2019-03-01 16:34:34 -08:00
Jan Malakhovski 0f4eb7f977 conky: move defaults to package file 2019-02-03 15:33:12 +00:00
Tim Steinbach 43c6a83041 conky: journal support 2019-01-26 22:14:10 -05:00
Tim Steinbach 3da56c7844 conky: 1.11.1 -> 1.11.2 2019-01-25 22:57:53 -05:00
David Guibert d8e907ba18 conky: 1.11.0 -> 1.11.1 (#53157)
This fixes #52797.
2019-01-02 09:54:22 +01:00
R. RyanTM db250b9f84 conky: 1.10.8 -> 1.11.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/conky/versions
2018-12-16 17:08:57 +01:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Nicolas Schneider d0a9dcb01d conky: provide option to build with pulseaudio support 2018-03-18 14:36:45 +01:00