Commit Graph

122 Commits

Author SHA1 Message Date
Shawn8901
133fa5f867 treewide: remove global with lib; in pkgs/tools 2023-01-24 17:41:44 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Elis Hirwing
d0cbd3214a
passExtensions.pass-checkup: 0.2.1 -> 0.2.2 2023-01-04 10:13:31 +01:00
David McFarland
d1d0aa0d88 pass-genphrase: fix error when run without python in PATH 2022-09-29 18:40:30 -03:00
Lin Jian
25c9b1ce42
pass: set mainProgram and pass-with-extentions's name to pass
We can use lib.getExe to get the executable name now.
2022-09-09 15:15:05 +08:00
Artturin
c6568adb00 treewide: makeWrapper buildInputs to nativeBuildInputs
most found with https://github.com/siraben/nix-lint
2022-08-16 13:14:19 +03:00
Charlotte Van Petegem
3fdefecb10
pass: add openssh dependency to path
pass git needs openssh when pushing to a remote ssh host.
2022-07-25 18:52:10 +02:00
Robert Schütz
04fcf7fcde passExtensions.pass-import: support pykeepass 4.0.3 2022-06-30 22:35:05 +00:00
Sandro Jäckel
115475ff5b
python310Packages.python-magic: normalise attr 2022-05-07 01:18:35 +02:00
Aaron Jheng
f0c470f5eb
oath-toolkit: Rename from oathToolkit to oath-toolkit 2022-04-04 01:11:06 +00:00
Maximilian Bosch
d34a465327
passExtensions.pass-audit: 1.1 -> 1.2
ChangeLog: https://github.com/roddhjav/pass-audit/blob/v1.2/CHANGELOG.md#12---2022-01-30
2022-02-08 20:02:22 +01:00
Ilan Joselevich
99c247f5ba passExtensions.pass-tomb: 1.1 -> 1.3 2021-08-15 13:52:34 +03:00
Maximilian Bosch
6e7e956751
Merge pull request #126616 from sternenseemann/pass-1.7.4
pass: 1.7.3 -> 1.7.4
2021-06-17 18:29:01 +02:00
Zach
52d50b0585 pass-import: 3.1 -> 3.2 2021-06-12 18:03:38 -05:00
sternenseemann
9b794eb21a pass: 1.7.3 -> 1.7.4
Mostly bug fixes, the following changes were required in the package:

* set-correct-program-name-for-sleep.patch needed to be rebased,
  b08781e2a6e183986eb1c24f51cdeff879b7a6af partially implemented
  the changes done in this patch, so we don't need to touch
  password-store.sh anymore.

* Remove wayland patch since it is part of the release now

* Reworked assert logic wrt to x11-/wayland- and dmenuSupport:
  passmenu now supports wayland as well via dmenu-wayland. Sadly
  the choice of menu is not changeable, pending
  https://lists.zx2c4.com/pipermail/password-store/2021-January/004363.html

* Rebased no-darwin-getopt.patch

* Note that f.el is no longer required

Reviews would be appreciated, I might've missed something.
2021-06-11 19:58:00 +02:00
Elis Hirwing
0ac806adeb
passExtensions.pass-checkup: 0.2.0 -> 0.2.1 2021-06-07 21:31:42 +02:00
Domen Kožar
bf00839d04
Merge pull request #119571 from hennersz/fix/pass-import-install-extension
passExtensions.pass-import: install extension script and completion
2021-06-02 17:33:18 +02:00
Robert Schütz
93507828b2 passExtensions.pass-import: fix tests 2021-04-30 17:16:28 +02:00
Henry Mortimer
ec4dc7e346
passExtensions.pass-import: install extension script and completion
The changes added in 40b9f4e meant that running the extension
from within pass, i.e. running `pass import` no longer worked because
the extension script didn't get installed and the completion scripts
for pimport don't get installed. This commit fixes that by manually
copying and wrapping the extension script and completion scripts
2021-04-15 21:33:51 +01: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
Frederik Rietdijk
c456a2512f Merge master into staging-next 2021-02-26 10:25:13 +01:00
Sandro Jäckel
d3a4ec8666
extensions: remove unused input 2021-02-22 01:16:22 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +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
Maximilian Bosch
05348ed503
pass: support extensions with $out/bin
An example for that would be `passExtensions.pass-import` where
`pimport` is available in `$out/bin`. In that case, `$out/bin` in
`buildEnv` isn't a symlink anymore and doesn't need to be removed.

Co-authored-by: elseym <elseym@me.com>
2020-12-04 22:34:03 +01:00
Maximilian Bosch
2b674912b4
passExtensions.pass-import: 2.6 -> 3.1
ChangeLog: https://github.com/roddhjav/pass-import/blob/v3.1/CHANGELOG.rst#31---2020-10-25

* Make sure that all features are enabled by adding `pykeepass`,
  `filemagic` etc.

* Patch & use `setup.py` to make sure that everything gets installed
  properly into `$out`.

Co-authored-by: elseym <elseym@me.com>
2020-12-04 22:33:53 +01:00
Sandro
a1d83d01f2
pass.audit: Disable tests on darwin 2020-12-04 15:04:21 +01:00
Robbert Gurdeep Singh
29e1b41301 pass: add find and grep as dependencies
When pass is called from passff it does not have grep and find in its
path.

PATH="" /home/beardhatcode/.nix-profile/bin/pass grep lol                                             ~
/nix/store/HASH-password-store-1.7.3/bin/.pass-wrapped: line 399: find: command not found

$ PATH="/nix/store/HASH-findutils-4.7.0/bin" /home/beardhatcode/.nix-profile/bin/pass grep lol
/nix/store/HASH-password-store-1.7.3/bin/.pass-wrapped: line 403: grep: command not found
/nix/store/HASH-password-store-1.7.3/bin/.pass-wrapped: line 403: grep: command not found
2020-12-04 11:56:11 +01:00
Maximilian Bosch
6cd3c538c7
Merge pull request #104262 from Vonfry/fix/pass
pass: separate dmenu from x11Support
2020-11-25 14:32:02 +01:00
Vonfry
118695a350
pass: seperate dmenu from x11Support 2020-11-25 18:44:18 +08:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Frederik Rietdijk
ea7b8978ef Merge master into staging-next 2020-11-19 20:08:15 +01:00
R. RyanTM
f428c62679 passExtensions.pass-genphrase: 0.2 -> 0.3 2020-11-19 12:44:10 +00:00
Jonas Chevalier
a7cb88c3de
tree-wide: unify Bash completions outputs (#103421)
Use $out/share/bash-completion/completions to store the Bash completions
2020-11-12 21:22:18 +00:00
Jörg Thalheim
887295fd2d
treewide: remove the-kenny from maintainers
@the-kenny did a good job in the past and is set as maintainer in many package,
however since 2017-2018 he stopped contributing. To create less confusion
in pull requests when people try to request his feedback, I removed him as
maintainer from all packages.
2020-05-09 10:28:57 +01:00
Maximilian Bosch
1f20c084a7
passExtensions.pass-audit: 1.0.1 -> 1.1 2020-04-28 00:18:26 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
16c8590aa1
Merge pull request #82691 from Ma27/pass-exts
pass: don't rebuild when adding extensions, pass-audit: 0.1 -> 1.0.1
2020-03-28 09:51:28 +00:00
Maximilian Bosch
22228d1917
passExtensions.pass-update: 2.0 -> 2.1 2020-03-15 23:54:51 +01:00
Maximilian Bosch
187f3e79ca
pass: allow adding extensions without rebuilding the package
Until now, `pkgs.pass` was rebuilt entirely when adding an extension
using the `pass.withExtensions`-function. This is fixed now by removing the
linking of extensions from the fixupPhase and merge all paths (including
those from pkgs.pass) together in using `pkgs.buildEnv`.
2020-03-15 23:13:04 +01: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
John Wiegley
ff3f9d83e2
Disable further pass tests that end up relying on gpg-agent on… (#77634)
Disable further pass tests that end up relying on gpg-agent on Darwin
2020-01-14 13:54:44 -08:00
Pass Automated Testing Suite
669318bd02
Disable further pass tests that end up relying on gpg-agent on Darwin
Fixes #58975
2020-01-13 09:39:54 -08:00
Robin Gloster
65395a7105
treewide: installTargets is a list 2019-12-30 13:29:27 +01:00
Gürkan Gür
dc1a1b2b8a passExtensions.pass-genphrase: 0.1 -> 0.2
(#71032)
2019-11-14 14:56:57 +01:00
Jörg Thalheim
22b2ccf876
passExtensions.pass-import: 2.3 -> 2.6 2019-10-28 10:36:02 +00:00
Elis Hirwing
af5983b427
pass-checkup: Remove trailing dot 2019-10-25 16:41:44 +02:00
Elis Hirwing
e8a36cdf57 pass-checkup: init at 0.2.0 2019-10-25 02:33:36 -07:00
Maximilian Bosch
f72a8b02bd
pass: add patch for basic wayland support
This adds an upstream patch to support `wl-clipboard` for `pass -c` and
optionally wraps `wl-clipboard`. The patch is directly checked into
nixpkgs as it had to be modified to properly apply with
`set-correct-name-for-sleep.patch`.
2019-09-27 13:00:01 +02:00