nixpkgs/maintainers/scripts/update-octave-shell.nix
Karl Hallsby 17ea94881f 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.
2023-03-15 15:58:01 +02:00

12 lines
202 B
Nix

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