From 784adfe764080da4d65c8c49ffb66eb315538f36 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Fri, 12 Jun 2020 11:59:19 +0200 Subject: [PATCH] Initial commit --- default.nix | 13 +++++++++++++ graphing-nix.sh | 0 graphing.py | 0 requirements.txt | 2 ++ 4 files changed, 15 insertions(+) create mode 100644 default.nix create mode 100644 graphing-nix.sh create mode 100644 graphing.py create mode 100644 requirements.txt diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..e098d41 --- /dev/null +++ b/default.nix @@ -0,0 +1,13 @@ +with import {}; + +stdenv.mkDerivation rec { + name = "graphing-env"; + + buildInputs = [ + (python3.withPackages (ps: with ps; [ + pylint + plotly + clint + ])) + ]; +} diff --git a/graphing-nix.sh b/graphing-nix.sh new file mode 100644 index 0000000..e69de29 diff --git a/graphing.py b/graphing.py new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4100ba6 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +plotly==4.8.1 +clint \ No newline at end of file