forked from axeman/erpnext-nix
fix: remove some python overlays, these are now
available in nixpkgs
This commit is contained in:
parent
39b3da8433
commit
e8d06d76e1
|
@ -13,20 +13,13 @@ final: prev: {
|
||||||
|
|
||||||
# erpnext dependencies
|
# erpnext dependencies
|
||||||
gocardless-pro = pyFinal.callPackage ./python/gocardless-pro.nix {};
|
gocardless-pro = pyFinal.callPackage ./python/gocardless-pro.nix {};
|
||||||
python-youtube = pyFinal.callPackage ./python/python-youtube.nix {};
|
|
||||||
redisearch = pyFinal.callPackage ./python/redisearch.nix {};
|
redisearch = pyFinal.callPackage ./python/redisearch.nix {};
|
||||||
taxjar = pyFinal.callPackage ./python/taxjar.nix {};
|
taxjar = pyFinal.callPackage ./python/taxjar.nix {};
|
||||||
|
|
||||||
# frappe dependencies
|
# frappe dependencies
|
||||||
email-reply-parser = pyFinal.callPackage ./python/email-reply-parser.nix {};
|
email-reply-parser = pyFinal.callPackage ./python/email-reply-parser.nix {};
|
||||||
git-url-parse = pyFinal.callPackage ./python/git-url-parse.nix {};
|
|
||||||
maxminddb-geolite2 = pyFinal.callPackage ./python/maxminddb-geolite2.nix {};
|
maxminddb-geolite2 = pyFinal.callPackage ./python/maxminddb-geolite2.nix {};
|
||||||
posthog = pyFinal.callPackage ./python/posthog.nix {};
|
|
||||||
premailer = pyFinal.callPackage ./python/premailer.nix {};
|
|
||||||
psycopg2-binary = pyFinal.callPackage ./python/psycopg2-binary.nix {};
|
psycopg2-binary = pyFinal.callPackage ./python/psycopg2-binary.nix {};
|
||||||
pypdf2 = pyFinal.callPackage ./python/pypdf2.nix {};
|
|
||||||
pypika = pyFinal.callPackage ./python/pypika.nix {};
|
|
||||||
rauth = pyFinal.callPackage ./python/rauth.nix {};
|
|
||||||
traceback-with-variables = pyFinal.callPackage ./python/traceback-with-variables.nix {};
|
traceback-with-variables = pyFinal.callPackage ./python/traceback-with-variables.nix {};
|
||||||
|
|
||||||
# indirect dependencies
|
# indirect dependencies
|
||||||
|
@ -36,15 +29,6 @@ final: prev: {
|
||||||
rejson = pyFinal.callPackage ./python/rejson.nix {};
|
rejson = pyFinal.callPackage ./python/rejson.nix {};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bleach = pyPrev.bleach.overridePythonAttrs (oldAttrs: (rec {
|
|
||||||
version = "3.3.1";
|
|
||||||
src = pyPrev.fetchPypi {
|
|
||||||
inherit version;
|
|
||||||
inherit (oldAttrs) pname;
|
|
||||||
sha256 = "sha256-MGSDpal5VHQWCtV/zj3dG1BVHpge7Y4VpYLTTO8oqvo=";
|
|
||||||
};
|
|
||||||
}));
|
|
||||||
plaid-python = pyPrev.plaid-python.overridePythonAttrs (oldAttrs: (rec {
|
plaid-python = pyPrev.plaid-python.overridePythonAttrs (oldAttrs: (rec {
|
||||||
version = "7.2.1";
|
version = "7.2.1";
|
||||||
src = pyPrev.fetchPypi {
|
src = pyPrev.fetchPypi {
|
||||||
|
@ -57,16 +41,6 @@ final: prev: {
|
||||||
# Integration tests require API keys and internet access
|
# Integration tests require API keys and internet access
|
||||||
checkPhase = "pyPrev.test -rxs ./tests/unit";
|
checkPhase = "pyPrev.test -rxs ./tests/unit";
|
||||||
}));
|
}));
|
||||||
tweepy = pyPrev.tweepy.overridePythonAttrs (oldAttrs: (rec {
|
|
||||||
version = "3.10.0";
|
|
||||||
src = pyPrev.fetchPypi {
|
|
||||||
inherit version;
|
|
||||||
inherit (oldAttrs) pname;
|
|
||||||
sha256 = "sha256-duaVS4BspHDdqHf1fbh5L/8GoL66DtQ+/DgFdx458Go=";
|
|
||||||
};
|
|
||||||
doCheck = false;
|
|
||||||
pythonImportsCheck = [];
|
|
||||||
}));
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
{ buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, pbr
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "git-url-parse";
|
|
||||||
version = "1.2.2";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-e19OOusdaTr+7mejvUrAY/cgbC6ORuVZ8NoNqYRF8Rc=";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [pbr];
|
|
||||||
doCheck = false;
|
|
||||||
}
|
|
|
@ -1,22 +0,0 @@
|
||||||
{ buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, backoff
|
|
||||||
, monotonic
|
|
||||||
, python-dateutil
|
|
||||||
, requests
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "posthog";
|
|
||||||
version = "3.0.1";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-V9J5H/V1LOVroPm7iHb688qSCPHCxs6utaJQTDRJN2c=";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
backoff
|
|
||||||
monotonic
|
|
||||||
python-dateutil
|
|
||||||
requests
|
|
||||||
];
|
|
||||||
doCheck = false;
|
|
||||||
}
|
|
|
@ -1,22 +0,0 @@
|
||||||
{ buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, cssselect
|
|
||||||
, cssutils
|
|
||||||
, lxml
|
|
||||||
, mock
|
|
||||||
, nose
|
|
||||||
, requests
|
|
||||||
, cachetools
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "premailer";
|
|
||||||
version = "3.8.0";
|
|
||||||
|
|
||||||
buildInputs = [ mock nose ];
|
|
||||||
propagatedBuildInputs = [ cachetools cssselect cssutils lxml requests ];
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-TU4VckTO6UWgDBT+qp5qOusvryYj/2qLoIr99QX6DyU=";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
buildPythonPackage,
|
|
||||||
fetchPypi,
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "PyPDF2";
|
|
||||||
version = "2.1.1";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-Vy8TFLZDMGed1vtwN4H+M9Dyi1n7LP661efrntypJzg=";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [];
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
buildPythonPackage,
|
|
||||||
fetchPypi,
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "pypika";
|
|
||||||
version = "0.48.9";
|
|
||||||
src = fetchPypi {
|
|
||||||
pname = "PyPika";
|
|
||||||
inherit version;
|
|
||||||
sha256 = "sha256-g4g2phdH58g4DNG3/2OGlLenM1NF0PVZsEss2DKtU3g=";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [];
|
|
||||||
doCheck = false;
|
|
||||||
}
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
buildPythonPackage,
|
|
||||||
fetchPypi,
|
|
||||||
|
|
||||||
requests,
|
|
||||||
dataclasses-json,
|
|
||||||
isodate,
|
|
||||||
requests-oauthlib
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "python-youtube";
|
|
||||||
version = "0.8.0";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-Ud0Y+lmsK88SNh0uIjhOHgCgCG+SBv/FQkt3yc63tlo=";
|
|
||||||
};
|
|
||||||
|
|
||||||
# PyPI doesn't have test data in the source dist
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
requests
|
|
||||||
dataclasses-json
|
|
||||||
isodate
|
|
||||||
requests-oauthlib
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
{ buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, requests
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "rauth";
|
|
||||||
version = "0.7.3";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-UkzbwcKFYOrPyanUDFlSXrjQD98H+62GEH6iRBFHewo=";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [requests];
|
|
||||||
doCheck = false;
|
|
||||||
}
|
|
Loading…
Reference in a new issue