Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
Vonfry
118695a350
pass: seperate dmenu from x11Support 2020-11-25 18:44:18 +08: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +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
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
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
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02: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
Keith Amidon
9830436567 password-store: link ext. man pages into the password-store $out
When pass was installed with extensions in the system environment, the
man pages for the selected extensions were not available globally
because they were only available in a buildInput of the password-store
derivation.

This commit resolves the problem by linking the man pages from the
extensions environment into the output directory of the password-store
derivation.

Bug 56850
2019-03-23 12:51:10 -07:00
Daniël de Kok
c9c3663d3e pass: Fix dependencies on Darwin
password-store on Darwin does not pass unit tests in sandboxed
builds:

- 'openssl base64' is used on Darwin to compute base64. Add openssl
  to the environment of pass.
- t0200-edit-tests.sh tests 'pass edit', which uses hdid on Darwin.
  However hdid is not available in the sandbox.
2018-08-23 10:59:29 +02:00
Vladimír Čunát
ded9a4b1aa
Merge branch 'staging-next' into staging
Commits from master, conflict resolutions, etc.
2018-08-13 20:57:50 +02:00
Jan Malakhovski
c2d335fb07 pass: convert check to installcheck, fix tests 2018-08-11 09:35:29 +00:00
Johannes Frankenau
3a18a03f0a pass: 1.7.2 -> 1.7.3 2018-08-10 09:56:27 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Simon Lackerbauer
d55f7d3cb3
pass: 1.7.1 -> 1.7.2 2018-06-14 23:14:40 +02:00
Tad Fisher
0c2a7fa4dc pass: refactor extension packaging 2018-05-04 10:53:17 -07:00
Matthew Bauer
ce8ce600ae unix-tools: introduce unix-tools.nix
unix-tools.nix has a collection of tools that are commonly installed
by default in Unix derivatives. This is intended to provide
compatibility between macOS and Linux users. Three Linux-only
derivations are provided for compatbility:

- procps
- utillinux
- nettools

More tools are also provided.

Also: treewide: use unixtools

Non-comprehensive replace of Linux-only procps and util-linux with
'unixtools'.
2018-03-26 17:40:55 -05:00
MERCIER Michael
f4d1d269fa pass: Make tomb plugin optional (disabled by default) 2017-12-06 14:49:35 +01:00
MERCIER Michael
3963dfe222 (pass): Add tomb plugin 2017-09-13 10:59:49 +02:00
Matthew Bauer
5cfe844bd6 passwordstore: use https for homepage 2017-08-17 14:55:43 -07:00
Peter Hoeg
fd5e201bf2 pass: add plugins to support importing and updating 2017-06-05 18:22:19 +08:00
Victor Calvert
9bc0b12c68 pass: 1.7 -> 1.7.1 2017-05-05 16:09:03 -04:00
Andrew R. M
785f6ce5d6 pass: Fix clipboard functionality
Add the patch that was removed that allows pass's clip() function to
work with single binary coreutils. This version of the patch is also
applied to darwin.sh, so this should fix the clipboard functionality in
darwin as well.
2017-04-10 10:31:00 -04:00
Franz Pletz
9dbeca2240
pass: refactor, fix completions install
cc #23223
2017-02-26 20:54:58 +01:00
Franz Pletz
edcbb6da11
pass: 1.6.5 -> 1.7 2017-02-26 19:36:51 +01:00
Jörg Thalheim
3732d1d2c3 pass: add procps dep only on linux (#19165)
fixes #18929
2016-10-02 18:57:42 +02:00
Moritz Ulrich
a36ecba2c9 pass: Add procps for pgrep to PATH. 2016-09-19 17:25:04 +02:00
Franz Pletz
493ab7b4fa
pass: add patch to fix xclipboard handling
This is caused by our coreutils now being built as a single binary.
2016-09-03 06:07:15 +02:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
Profpatsch
a011083cda fish: pick up completion files from other packages
Some packages bring their own completions in
/share/fish/vendor_completions.d. Now they are picked up by fish from
every path in NIX_PROFILES.
2016-04-09 00:08:48 +02:00
zimbatm
53f7baa6b8 pass: fixes .wrapped-pass in usage
When using `pass --help` for example the PROGRAM name is ".wrapped-pass"
instead of "pass".
2016-01-30 01:59:12 +00:00
davidak
fc45d98c31 pass: update homepage url 2016-01-01 20:19:11 +01:00
Paulus Esterhazy
f683031df2 pass: Fix for Darwin 2015-08-19 20:50:58 +02:00
Moritz Ulrich
24d5eb262d Pass: Add pwgen to wrapper. 2015-05-12 23:38:28 +02:00
Moritz Ulrich
3fa9fe1dd1 Pass: Use default gpg(2) & use lib.makeSearchPath. 2015-04-15 10:45:43 +02:00
Jan Malakhovski
1ddc9e4be3 pass: rename withX into x11Support, cleanup a bit 2015-03-29 23:26:13 +00:00
Shea Levy
df0016a8ce Fix pass on darwin 2015-02-15 16:14:13 +00:00
Shea Levy
52879c9050 pass: fix completion installation 2015-02-11 15:29:34 +00:00
Moritz Ulrich
6a24650cb5 pass: update from 1.6.3 to 1.6.5 2015-02-07 18:49:49 +01:00
Moritz Ulrich
a5807eb7c4 pass: default to withX = true & install passmenu. 2015-02-04 12:06:48 +01:00
Moritz Ulrich
7af9134293 pass: update from 1.6.2 to 1.6.3 2014-08-04 15:54:05 +02:00
Anders Claesson
d7491e429a pass: install bash completion script 2014-06-12 07:46:39 +02:00
Daniel Bergey
af3d448d33 pass(word-store): add option to include xclip in PATH
xclip is necessary for pass(word-store) to send passwords to the
clipboard / X-selection, rather than echoing to the terminal.

The option currently defaults to false, because someone may not want the
dependency on X libraries and also pass is really quick to build (it's
just a shell script).
2014-06-11 23:36:28 +02:00