commit ef382b5f6fae61e05ff3c8f92c93a8f42428ba61 Author: Jeremy Wall Date: Thu Oct 28 10:51:57 2021 -0400 Initial Commit diff --git a/dbt-core/default.nix b/dbt-core/default.nix new file mode 100644 index 0000000..8d729cc --- /dev/null +++ b/dbt-core/default.nix @@ -0,0 +1,62 @@ +with import {}; +with python38Packages; + +buildPythonPackage rec { + pname = "dbt"; + version = "0.12.0"; + + propagatedBuildInputs = [ + agate + attrs + Babel + certifi + cffi + charset-normalizer + click + colorama + #dbt-extractor + #dbt-postgres + hologram + idna + importlib-metadata + isodate + jinja2 + jsonschema + leather + Logbook + markupsafe + #mashumaro + #minimal-snowplow-tracker + msgpack + networkx + packaging + parsedatetime + #psycopg2-binary + pycparser + pyparsing + pyrsistent + python-dateutil + python-slugify + pytimeparse + pytz + pyyaml + requests + six + sqlparse + text-unidecode + typing-extensions + urllib3 + werkzeug + zipp + snowflake-connector-python + ]; + + doCheck = false; + + src = fetchPypi { + inherit pname; + inherit version; + #sha256 = "0000000000000000000000000000000000000000000000000000"; + sha256 = "0ymd6pp0vw32s9y3dwcb083ds1cz8y6qiiwcajcyj07ld1wxmc0x"; + }; +} diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..103831f --- /dev/null +++ b/shell.nix @@ -0,0 +1,22 @@ +with import {}; + +stdenv.mkDerivation { + name = "pip-env"; + buildInputs = [ + # System requirements. + readline + + # Python requirements (enough to get a virtualenv going). + python38Full + python38Packages.virtualenv + python38Packages.pip + ]; + src = null; + shellHook = '' + # Allow the use of wheels. + SOURCE_DATE_EPOCH=$(date +%s) + + # Augment the dynamic linker path + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib:${readline}/lib + ''; +} \ No newline at end of file