From 9a002c99eb24d58659efefcdef8f8dc94badf653 Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 26 Dec 2022 09:29:23 +0000 Subject: [PATCH] python-data template: add requests module --- templates/python-data/flake.lock | 42 ++++++++++++++++++++++++++++++++ templates/python-data/flake.nix | 1 + 2 files changed, 43 insertions(+) create mode 100644 templates/python-data/flake.lock diff --git a/templates/python-data/flake.lock b/templates/python-data/flake.lock new file mode 100644 index 00000000..91bc931d --- /dev/null +++ b/templates/python-data/flake.lock @@ -0,0 +1,42 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1671997655, + "narHash": "sha256-8zUwvnJrBwiFIdw9VgARj1PIQsto5Spn9J5v34b0O7A=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "aac1f0b25e6b04afad8e05dec5828f5c02398bd1", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixpkgs-unstable", + "type": "indirect" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/templates/python-data/flake.nix b/templates/python-data/flake.nix index dfdeddf0..79112b92 100644 --- a/templates/python-data/flake.nix +++ b/templates/python-data/flake.nix @@ -11,6 +11,7 @@ natsort pandas plotly + requests scipy ]; python3 = pkgs.python3.withPackages python-packages;