octavePackages: add automatic updating script based on Python's

This script is heavily based on the script used to update all python
libraries at
pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py

The Octave Packages' website uses YAML as their basis, so we must
reformat to use YAML instead of JSON.
This commit is contained in:
Karl Hallsby
2022-12-22 13:29:17 -06:00
committed by Doron Behar
parent d746510795
commit 17ea94881f
3 changed files with 491 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
{ nixpkgs ? import ../.. { }
}:
with nixpkgs;
let
pyEnv = python3.withPackages(ps: with ps; [ packaging requests toolz pyyaml ]);
in
mkShell {
packages = [
pyEnv
nix-prefetch-scripts
];
}