Commit Graph

444 Commits

Author SHA1 Message Date
Masum Reza
a4d711538e
treewide: migrate to the new rust fetcher (#356385)
* alfis: migrate to the new fetcher

* workstyle: migrate to the new fetcher

* mullvad: migrate to the new fetcher

* chiptrack: migrate to the new fetcher

* conduwuit: migrate to the new fetcher

* xdg-desktop-portal-cosmic: migrate to the new rust fetcher

* cloud-hypervisor: migrate to the new fetcher
2024-11-19 21:23:26 +05:30
Nick Cao
3c72477b3e
i3status-rust: 0.33.1 -> 0.33.2 (#354926) 2024-11-15 09:14:57 -05:00
Franz Pletz
edb5aee09b
i3: fetch source from github 2024-11-13 09:30:55 +01:00
Franz Pletz
251c9817f4
i3: restrict platforms to unix 2024-11-13 09:30:28 +01:00
Franz Pletz
e51816b27e
i3: modernize 2024-11-13 09:30:26 +01:00
Franz Pletz
a267891f09
i3: reformat with nixfmt-rfc-style 2024-11-13 09:29:53 +01:00
Franz Pletz
9d42c2df73
i3: 4.23 -> 4.24
https://i3wm.org/downloads/RELEASE-NOTES-4.24.txt
2024-11-13 09:29:51 +01:00
R. Ryantm
d3105fec4c i3status-rust: 0.33.1 -> 0.33.2 2024-11-12 17:42:41 +01:00
Moritz Sanft
0cad833c26
lock-fancy-rapid: format 2024-11-11 11:28:30 +01:00
Moritz Sanft
930b1cc3ec
lock-fancy-rapid: add meta.mainProgram 2024-11-11 11:28:22 +01:00
Anderson Torres
93207b7629 bumblebee-status: update plugins
mpc-cli is now mpc
2024-11-01 20:07:04 -03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Damien Cassou
db2751a7bb
i3status: 2.14 -> 2.15 2024-08-19 19:11:36 +02:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Felix Buehler
99836b76af i3blocks: remove 'with lib;' 2024-08-16 16:09:03 +02:00
Felix Buehler
4a22744d12 i3blocks-gaps: remove 'with lib;' 2024-08-16 16:09:03 +02:00
ghpzin
339bf07253
bumblebee-status: fix build with python 3.12 2024-08-10 14:02:28 +03:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
github-actions[bot]
12ea252962
Merge master into staging-next 2024-07-25 06:01:22 +00:00
Sergey Vlasov
081b609aea
i3: add test-only deps to buildInputs only when testing is enabled
This may fix the build on Darwin (the `xvfb-run` package, which is
required only to run the testsuite, is Linux-only since #123097, and the
“proper solution” mentioned in that PR was not implemented).  Apparently
someone cared about building `i3` on Darwin at the time of #6135.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
43e1972a68
i3: enable the testsuite on all Linux platforms
The testsuite can run only on Linux, because it requires `xvfb-run`,
which is not available on non-Linux platforms; however, it should not be
limited just to `x86_64-linux`.

The conditional setting of `checkPhase` was introduced in #6135, because
at that time the `checkPhase` script referred to `${xdummy}`, and that
kind of reference would break evaluation if the specified package was
not available; the current version of the `checkPhase` script does not
refer to any package paths directly, therefore the condition is no
longer needed and can be removed.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
e9f59d8d50
i3-rounded: disable testsuite
Some tests in the `i3-rounded` fork are failing; disable the testsuite
to allow the package to build as before.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
a32ddd6d6c
i3: make postPatch work for older forks too
The `i3-rounded` package is derived from `i3`, but uses some old fork of
`i3` which does not have the `318-i3-dmenu-desktop.t` testcase.  Make
the code in `postPatch` check whether that testcase is actually present,
so that the build of `i3-rounded` does not fail.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
f2f398f81f
i3: add more dependencies used by tests
Some tests in the i3 testsuite are silently skipped if the dependencies
required to run those tests are missing.  The problematic dependencies
turned out to be `xdotool`, `xorg.setxkbmap`, `xorg.xrandr`, `which`
(the latter is used to verify the presence of some tools).  Add those
dependencies to `buildInputs`, so that all tests would be run.

Ideally such missing dependencies should be detected as test failures,
but it's hard to implement, because missing tools result just in `skip`
marks in the test log, and there are some tests which are skipped for
other reasons (e.g., tests which were written before the expected
behavior is actually implemented in i3).
2024-07-23 22:15:35 +02:00
Sergey Vlasov
b934fad58c
i3: fix and reenable testsuite
The `checkPhase` script was stale and needed to be rewritten for the new
version of i3 (paths are different now, and `complete-run.pl` now
invokes `xvfb-run` internally).  The code to check the log file for
errors might be unneeded for the new version (`complete-run.pl` seems to
return a non-zero exit code correctly on errors), but is left to catch
any possible regressions in the test runner behavior.

Also the `318-i3-dmenu-desktop.t` testcase was failing, because that
testcase was creating a temporary Perl script intended to shadow the
real `i3-msg` executable, but the `#!/usr/bin/env perl` shebang in that
script did not work in the build environment; this problem was not
really obvious, because `system('i3-msg', $cmd)` silently continued to
search for the `i3-msg` executable further in `$PATH` and launched the
real binary instead of the replacement script.  The problematic shebang
needed to be replaced manually, because `patchShebangs` handles only
real shebangs on the first line of each executable file.
2024-07-23 22:13:25 +02:00
github-actions[bot]
df8055b727
Merge staging-next into staging 2024-07-16 18:01:37 +00:00
lucasew
60e8be0f59 i3pystatus: move to by-name
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-07-15 14:09:16 -03:00
Vladimír Čunát
211398c03e
Merge branch 'staging-next' into staging 2024-07-14 08:35:35 +02:00
aleksana
07c1bc2034 treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
Martin Weinelt
176a56c40f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Michael Hoang
eb725313bc treewide: remove Enzime 2024-07-09 14:32:33 +10:00
aleksana
1862813d11 treewide: convert cargoSha256 to cargoHash
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
2024-07-03 21:54:10 +08:00
aleksana
a9709c299b treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
Martin Weinelt
7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar
4f71ac5153 gnome-system-monitor: Move from gnome scope to top-level 2024-07-01 08:26:49 +02:00
github-actions[bot]
f018e44bd1
Merge master into staging-next 2024-06-29 12:01:32 +00:00
éclairevoyant
71e728d3b8
maintainers: remove ivar 2024-06-29 03:09:10 -04:00
K900
42c4ffb919 treewide: replace xorgserver with xvfb in places where only xvfb is used 2024-06-23 13:59:26 +03: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
Pol Dellaiera
8abc48e315
Merge pull request #297859 from reedrw/update-i3lock-fancy
i3lock-fancy: unstable-2018-11-25 -> unstable-2023-04-28
2024-05-12 21:42:49 +02:00
R. Ryantm
1d887599ba i3status-rust: 0.33.0 -> 0.33.1 2024-04-08 01:33:28 +00:00
reedrw
5e9ce01f9b i3lock-fancy: add reedrw as maintainer 2024-04-05 11:48:23 -04:00
Reed
732c6d245b i3lock-fancy: unstable-2018-11-25 -> unstable-2023-04-28 2024-04-05 11:39:44 -04: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
R. Ryantm
3bab44a59e i3lock: 2.14.1 -> 2.15 2024-03-17 12:19:20 +00:00
Guilhem Saurel
2e60b54d0d i3: set meta.mainProgram 2024-03-09 12:42:01 +01:00
R. Ryantm
14af7f5cf9 i3status-rust: 0.32.3 -> 0.33.0 2024-02-19 20:25:27 +00:00
Weijia Wang
5b233dd640
Merge pull request #273125 from mrnossiom/master
workstyle, dconf, rnix-lsp, marksman, macchanger, restic: add meta.mainProgram
2024-01-03 04:35:40 +01:00
R. Ryantm
cb12e6cac5 wmfocus: 1.4.0 -> 1.5.0 2024-01-01 07:01:51 +00:00
Milo Moisson
a66dd462a8 feat(workstyle,dconf,rnix-lsp,marksman,macchanger,restic): add meta.mainProgram 2023-12-19 03:45:09 +01:00