summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/credstash (follow)
Commit message (Expand)AuthorAgeFilesLines
* treewide: migrate fetchgit `rev = "refs/tags/..."` to `tag`Peder Bergebakken Sundt2025-01-041-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 Thalheim2024-07-291-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 Hildebrandt2024-06-091-1/+1
* python312Packages.credstash: format with nixfmtFabian Affolter2024-04-101-18/+14
* python312Packages.credstash: refactorFabian Affolter2024-04-101-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. stuebinm2024-03-191-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 adisbladis2023-12-071-0/+1
* treewide: remove stdenv where not neededPavol Rusnak2021-01-251-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 Profpatsch2021-01-111-2/+2
* python3Packages.credstash: fix nativeBuildInputsThomas Depierre2020-11-031-4/+2
* python3Packages.credstash: fix buildFrederik Rietdijk2020-08-311-1/+9
* python: credstash: 1.16.2 -> 1.17.1Frederik Rietdijk2020-06-111-2/+2
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-101-1/+1
* credstash: 1.16.1 -> 1.16.2R. RyanTM2020-02-111-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. RyanTM2019-09-261-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.pyIvan2018-12-111-0/+8
* pkgs/*: remove unreferenced function argumentsvolth2018-07-211-1/+1
* python.pkgs.credstash: 1.14.0 -> 1.15.0Robert Schütz2018-07-131-8/+4
* pythonPackages.credstash: fix build•••This applies https://github.com/fugue/credstash/pull/178. Robert Schütz2018-03-181-3/+8
* python: credstash: 1.13.4 -> 1.14.0Frederik Rietdijk2017-12-301-2/+2
* python.pkgs: updatesFrederik Rietdijk2017-10-271-2/+2
* credstash: 1.13.2 -> 1.13.3Samuel Leathers2017-09-141-0/+23