Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/maintainers/scripts/update-python-libraries

6 lines
289 B
Plaintext
Raw Normal View History

buildPython*: add updateScript to passthru All Python packages now have an updateScript. The script calls `update-python-libraries` and passes it the position of the derivation expression obtained using `meta.position`. This works fine in case a Nix expression represents only a single derivation. If there are more in it, `update-python-libraries` will fail.
2018-11-24 12:56:24 +01:00
#!/bin/sh
fix update-python-libraries
2018-12-19 09:37:59 +01:00
build=`nix-build -E "with import (fetchTarball "channel:nixpkgs-unstable") {}; python3.withPackages(ps: with ps; [ packaging requests toolz ])"`
python=${build}/bin/python
exec ${python} pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py $@
Python: update script for packages This script determines whether there is an update available for the package and if so, updates the version and sha256 attributes. This only works for packages that have their own expression, and `pname` and `sha256` attribute.
2017-05-07 20:40:47 +02:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 824ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API