mirror of
https://github.com/zaphar/dbt-nix.git
synced 2025-07-21 19:40:31 -04:00
Initial Commit
This commit is contained in:
commit
ef382b5f6f
62
dbt-core/default.nix
Normal file
62
dbt-core/default.nix
Normal file
@ -0,0 +1,62 @@
|
||||
with import <nixpkgs> {};
|
||||
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";
|
||||
};
|
||||
}
|
22
shell.nix
Normal file
22
shell.nix
Normal file
@ -0,0 +1,22 @@
|
||||
with import <nixpkgs> {};
|
||||
|
||||
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
|
||||
'';
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user