Commit Graph

173 Commits

Author SHA1 Message Date
Michael Daniels
69e62efb88 rofi-pass: move to by-name 2026-05-30 11:56:50 -04:00
state plumber
f195e55dab pass: use git, gpg from runtime $PATH 2026-04-22 00:00:00 +00:00
Marcin Serwin
99e6d1bfbb maintainers: drop lovek323
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-02-24 23:43:50 +01:00
Peder Bergebakken Sundt
5e4bb4a8f0 various: modernize derivations, remove unnecessary recursiveness (#460756) 2026-01-24 20:21:12 +00:00
Maximilian Bosch
87eb10ceb1 treewide: remove ma27 from a few packages
A bunch of stuff accumulated again that I stopped using. Removing myself
as maintainer since it doesn't make sense to keep that status.
2026-01-24 12:28:23 +01:00
kashw2
ef9e88ad16 pass-file: modernise, finalAttrs 2026-01-17 01:51:40 +10: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
Pol Dellaiera
cb0bf42e7e rofi-pass: replace util-linux with util-linuxMinimal 2025-09-11 08:22:09 +02:00
Pol Dellaiera
73b6bea9e1 rofi-pass: add missing phase hooks 2025-09-11 08:21:48 +02:00
Pol Dellaiera
1656b18a4f rofi-pass: use makeBinaryWrapper 2025-09-11 08:20:16 +02:00
SchweGELBin
dd27811d3f rofi-pass: drop rofi-wayland in favor of rofi 2025-09-07 12:56:47 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Martin Weinelt
ae4a1a485a treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00
Ryan Yin
9b3dc31a6e pass: add ryan4yin as a maintainer 2025-06-22 14:25:32 +08: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
FliegendeWurst
45cd69c9c3 pass: fix strictDeps build 2025-01-12 12:56:50 +01:00
R. Ryantm
042dc8cf98 wofi-pass: 24.0.2 -> 24.1.0 2024-12-19 15:35:53 +00: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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01: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
Philip Taron
3eb82a79e4 pass: remove with statements 2024-08-18 06:32:23 -07: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
Maximilian Bosch
d94ccbdd12 passExtensions.pass-audit: get rid of pythonEnv
It seems a little odd to first generate an interpreter pointing to an
environment and then building a package from it. This commit alters the
build process so that

* dependencies are listed explicitly as in any normal python build.
* a PYTHONPATH is then generated out of all dependencies and $out. This
  is injected into the package's entrypoint, the `audit.bash`.
2024-07-12 10:58:17 +02:00
Florian Brandes
6bb5edd7b1 passExtensions.pass-audit: fix python3.12 compat
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-11 18:07:05 +02:00
Lily Foster
c678743f80 treewide: remove lilyinstarlight 2024-07-02 03:17:01 +02:00
R. Ryantm
865c7525c9 rofi-pass: 2.0.2-unstable-2024-02-13 -> 2.0.2-unstable-2024-06-16 2024-06-16 12:35:24 +00: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
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Dawid Dziurla
c706ed98fe passExtensions.pass-import: 3.2 -> 3.5
Diff: https://github.com/roddhjav/pass-import/compare/v3.2...v3.5

Changelog: https://github.com/roddhjav/pass-import/blob/v3.5/CHANGELOG.rst
2024-05-22 09:27:05 +02:00
OPNA2608
6bdd945196 rofi-pass: unstable-2024-02-13 -> 2.0.2-unstable-2024-02-13 2024-05-04 19:31:43 +02:00
Weijia Wang
995653a907 Merge pull request #291674 from r-ryantm/auto-update/passExtensions.pass-update
passExtensions.pass-update: 2.1 -> 2.2.1
2024-04-05 20:40:04 +02:00
Robert Schütz
e5d16f61b0 Merge pull request #299620 from dotlambda/passExtensions.pass-audit
passExtensions.pass-audit: fix tests
2024-03-29 16:34:35 +00:00
Philip Taron
6aa0a4712e Avoid top-level with ...; in pkgs/tools/security/pass/extensions/default.nix 2024-03-28 21:30:46 +01:00
Robert Schütz
e3a18722cd passExtensions.pass-audit: fix tests 2024-03-27 17:51:58 -07: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
77db2262b5 wofi-pass: 24.0.0 -> 24.0.2 2024-03-18 07:51:56 +00:00
R. Ryantm
ce411f4f32 wofi-pass: 23.1.4 -> 24.0.0 2024-03-14 14:59:07 +00:00
R. Ryantm
1c6cad3251 passExtensions.pass-update: 2.1 -> 2.2.1 2024-02-29 18:56:33 +00:00
R. Ryantm
6288759310 rofi-pass: unstable-2023-07-07 -> unstable-2024-02-13 2024-02-15 19:49:22 +00:00
Sandro Jäckel
653837881e treewide: replace lib/${python.libPrefix}/site-packages with its shorthand ${python.sitePackages}
which should be always preferred
2024-01-30 19:56:57 +01:00
GetPsyched
f98ec4f73c treewide: update meta.description to fit the guidelines 2024-01-09 17:12:31 +01:00
R. Ryantm
ad9f4cc5ec wofi-pass: 23.1.2 -> 23.1.4 2023-12-25 03:54:58 +00:00
Emily Trau
604365c826 Merge pull request #262046 from taranarmo/master
passExtensions.pass-file: init at 1.0.0
2023-12-01 22:25:53 +11:00
Samy Lahfa
76c0d6b39b wofi-pass: init at 23.1.2
* Fix URL type to a string
* Add extension option and replace cp by install -Dm755
* use nativeBuildInputs instead of buildInputs
* Add install -t option
* Remove useless mkdir
* Use let in construct for wrapperPath and clean exts declaration
* Add meta.mainProgram
2023-11-26 02:45:07 +01:00
Sergey Volkov
86498a74a7 passExtensions.pass-file: init at 1.0.0 2023-10-20 11:34:51 +02:00
R. Ryantm
ccff7d2332 rofi-pass: unstable-2023-07-04 -> unstable-2023-07-07 2023-10-19 00:56:42 +00:00
Lin Jian
85217382d6 pass: stop installing password-store.el
password-store.el is on MELPA so it is available in Nixpkgs as
emacs.pkgs.password-store.

Using emacs.pkgs.password-store is preferred because of better package
quality:
- Emacs lisp package dependencies are automatically installed
- byte-compilation is done
- native-compilation is done
2023-08-25 12:33:54 +08:00
Artturin
d787798f1c pass.withExtensions: add meta.mainProgram
```
nix-repl> lib.getExe (pass.withExtensions(_: []))
"/nix/store/rvc4ambjr8jsvm5n757icfl3j7gv1jxh-pass-env/bin/pass"
```
2023-08-04 20:31:17 +03:00
7c6f434c
6ef392680d Merge pull request #240149 from lilyinstarlight/upd/rofi-pass
rofi-pass: 2.0.2 -> unstable-2023-07-04 and init rofi-pass-wayland
2023-07-18 10:10:28 +00:00
figsoda
f97ce0a9a8 pkgs/tools/security: remove dead code
with the help of deadnix & nil
2023-07-12 14:35:00 -04:00