3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

99 commits

Author SHA1 Message Date
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
volth 7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00: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
toonn 5a035ec45f pass-otp: 1.1.1 -> 1.2.0
Had to specify `BASHCOMPDIR` in `$out` to keep things pure.
2019-08-18 16:34:16 +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
Rok Garbas 65781e204d
Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Chris Ostrouchov 2623df3b09
rofi-pass: refactor add new optional dependency pass-otp
Rofi-pass as of a year ago added support for OTP passwords. This
dependency is "optional" but extremely nice to have as a default.

https://github.com/carnager/rofi-pass#requirements
2019-05-29 10:06:37 -04: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
R. RyanTM 3e4eb0aed6 rofi-pass: 2.0.1 -> 2.0.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/rofi-pass/versions
2019-02-15 04:54:24 -08:00
Gürkan Gür 007e177f90 passExtensions.pass-genphrase: init at 0.1 2018-12-06 21:40:52 +01: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
Frederik Rietdijk cc071ece30
Merge pull request #43918 from r-ryantm/auto-update/pass-import
passExtensions.pass-import: 2.2 -> 2.3
2018-07-22 08:41:46 +02:00
R. RyanTM 420a813b93 passExtensions.pass-import: 2.2 -> 2.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pass-import/versions.
2018-07-21 13:02:09 -07:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
R. RyanTM 499ccb69e7 passExtensions.pass-otp: 1.1.0 -> 1.1.1 (#42973)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/pass-otp/versions.

Version release notes (from GitHub):

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 1.1.1 with grep in /nix/store/qam419864q7zv1fllmjpsylw6c0b76y6-pass-otp-1.1.1
- directory tree listing: https://gist.github.com/7a35773fe3bff95a565cc4f539706da6
- du listing: https://gist.github.com/adf137d812986c88efa0c217189d79a3
2018-07-06 20:43:45 +02: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
xeji e7eac1b855
Merge pull request #41370 from jbaum98/pass-audit
pass-audit: init at 0.1
2018-06-02 19:53:43 +02:00
Jake Waksbaum 7d49699b70 pass-import: export PREFIX, set PASSWORD_STORE_BIN 2018-06-01 21:51:22 -04:00