| Commit message (Expand) | Author | Age | Files | Lines |
| * | treewide: migrate fetchgit `rev = "refs/tags/..."` to `tag` | Peder Bergebakken Sundt | 2025-01-04 | 1 | -1/+1 |
| * | 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; \[ *\];![ ];!'
| Jörg Thalheim | 2024-07-29 | 1 | -1/+1 |
| * | 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/'
| Alexis Hildebrandt | 2024-06-09 | 1 | -1/+1 |
| * | python312Packages.credstash: format with nixfmt | Fabian Affolter | 2024-04-10 | 1 | -18/+14 |
| * | python312Packages.credstash: refactor | Fabian Affolter | 2024-04-10 | 1 | -11/+44 |
| * | 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.
| stuebinm | 2024-03-19 | 1 | -0/+1 |
| * | python3.pkgs.*: Explicitly pass buildPythonPackage format parameter•••Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.
cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
| adisbladis | 2023-12-07 | 1 | -0/+1 |
| * | treewide: remove stdenv where not needed | Pavol Rusnak | 2021-01-25 | 1 | -1/+1 |
| * | 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
| Profpatsch | 2021-01-11 | 1 | -2/+2 |
| * | python3Packages.credstash: fix nativeBuildInputs | Thomas Depierre | 2020-11-03 | 1 | -4/+2 |
| * | python3Packages.credstash: fix build | Frederik Rietdijk | 2020-08-31 | 1 | -1/+9 |
| * | python: credstash: 1.16.2 -> 1.17.1 | Frederik Rietdijk | 2020-06-11 | 1 | -2/+2 |
| * | treewide: Per RFC45, remove all unquoted URLs | Michael Reilly | 2020-04-10 | 1 | -1/+1 |
| * | credstash: 1.16.1 -> 1.16.2 | R. RyanTM | 2020-02-11 | 1 | -2/+2 |
| * | credstash: 1.15.0 -> 1.16.1•••Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/credstash/versions
| R. RyanTM | 2019-09-26 | 1 | -2/+2 |
| * | credstash: add standalone Python application (#51807)•••credstash was only available as a library. Provide it as a standalone
application as well.
In order for this to work, I needed to remove the copy of
the library that's placed in $out/bin and marked executable
during the install phase. Other than the patched shebang and
executable bit, it's identical to the library that's installed to
$out/lib/python3.7/site-packages.
Before the postFixup has run `wrapPythonPrograms`, $out/bin contains
two Python files -- credstash and credstash.py -- where bin/credstash
is the executable you'd expect a user to invoke from the command-line
and bin/credstash.py contains the credstash module, which bin/credstash
imports.
After `wrapPythonPrograms` has run, bin/credstash is a shell
wrapper around the bin/.credstash-wrapped python entrypoint, and
bin/credstash.py is shell wrapper around bin/.credstash.py-wrapped.
Invoking bin/credstash execs bin/.credstash-wrapped, and that python
script attempts to import the credstash module from bin/credstash.py,
the shell wrapper, rather than either bin/.credstash.py-wrapped or
lib/python3.7/site-packages/credstash.py.
This leads to an error:
$ credstash get mykey
Traceback (most recent call last):
File "/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin/.credstash-wrapped", line 8, in <module>
from credstash import main
File "/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin/credstash.py", line 2
export PATH='/nix/store/6lm4gi5iv8fbf1b1mm6g3gfnnv63f1gn-python3-3.7.1/bin:/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin:/nix/store/2n13gf1zdr39ir5dynxlkqndxgy36g08-python3.7-setuptools-40.4.3/bin:/nix/store/mhnqwpa4y1l81zi4cwx989i8h8z9g67l-python3.7-jmespath-0.9.0/bin:/nix/store/qc6q3a2nv4211wyh7q319v6zzd3ab6pc-python3.7-docutils-0.14/bin'${PATH:+':'}$PATH
^
SyntaxError: invalid syntax
If we try using `dontWrapPythonPrograms` to resolve this, runtime
dependency lookups fail:
$ credstash get mykey
Traceback (most recent call last):
File "/run/current-system/sw/bin/credstash", line 7, in <module>
from credstash import main
File "/nix/store/8rmldlvlv1z1xl7w02dy7f5qhkzdrg8z-python3.7-credstash-1.15.0/bin/credstash.py", line 26, in <module>
import boto3
ModuleNotFoundError: No module named 'boto3'
I was able to resolve things by simply removing bin/credstash.py before
the postFixup phase has a chance to wrap any executables. Now the
executable imports the library correctly:
(shell wrapper)
bin/credstash
│ (python executable)
└─> bin/.credstash-wrapped
│ (python library)
└─> lib/python3.7/site-packages/credstash.py | Ivan | 2018-12-11 | 1 | -0/+8 |
| * | pkgs/*: remove unreferenced function arguments | volth | 2018-07-21 | 1 | -1/+1 |
| * | python.pkgs.credstash: 1.14.0 -> 1.15.0 | Robert Schütz | 2018-07-13 | 1 | -8/+4 |
| * | pythonPackages.credstash: fix build•••This applies https://github.com/fugue/credstash/pull/178.
| Robert Schütz | 2018-03-18 | 1 | -3/+8 |
| * | python: credstash: 1.13.4 -> 1.14.0 | Frederik Rietdijk | 2017-12-30 | 1 | -2/+2 |
| * | python.pkgs: updates | Frederik Rietdijk | 2017-10-27 | 1 | -2/+2 |
| * | credstash: 1.13.2 -> 1.13.3 | Samuel Leathers | 2017-09-14 | 1 | -0/+23 |