Commit Graph

10 Commits

Author SHA1 Message Date
Silvan Mosberger
667d42c00d 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 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01: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
Philip Taron
6aa0a4712e Avoid top-level with ...; in pkgs/tools/security/pass/extensions/default.nix 2024-03-28 21:30:46 +01:00
Sergey Volkov
86498a74a7 passExtensions.pass-file: init at 1.0.0 2023-10-20 11:34:51 +02:00
Drew Risinger
40b9f4ef87 passExtensions.pass-import: convert to buildPythonApplication
Rewrite the derivation using buildPythonApplication, which makes the
wrappers a lot cleaner.
Adds tests because the application wasn't working as intended
due to the wrong file-magic python package (used "filemagic" instead of
desired "file-magic").
2021-04-06 09:18:44 -04:00
Maximilian Bosch
16001eab7c passExtensions.pass-audit: 0.1 -> 1.0.1, refactor
Updates to v1.0.1[1] which supports subdirs and zxcvbn[2]-based
complexity checks. Also, the following things changed:

* Add separate output for man-pages
* Enable test-suite (after adding a patch which mocks the
  `pwnedpasswords.com`).
* Added myself as maintainer.

[1] https://github.com/roddhjav/pass-audit/releases/tag/v1.0.1 /
    https://github.com/roddhjav/pass-audit/releases/tag/v1.0

[2] https://pypi.org/project/zxcvbn-python/
2020-03-15 23:13:04 +01:00
Elis Hirwing
e8a36cdf57 pass-checkup: init at 0.2.0 2019-10-25 02:33:36 -07:00
Gürkan Gür
007e177f90 passExtensions.pass-genphrase: init at 0.1 2018-12-06 21:40:52 +01:00
Jake Waksbaum
fea0215ec0 pass: Add pass-audit extension 2018-06-01 21:48:15 -04:00
Tad Fisher
0c2a7fa4dc pass: refactor extension packaging 2018-05-04 10:53:17 -07:00