baserow/backend: pynixify tweaks to make it build

This commit is contained in:
Luke Granger-Brown 2023-01-15 01:11:04 +00:00
parent 4cdccdd913
commit 32bb40df77
8 changed files with 17 additions and 95 deletions

View file

@ -19,8 +19,6 @@ self: super: {
baserow-backend = self.callPackage ./packages/baserow-backend { };
jsonschema = self.callPackage ./packages/jsonschema { };
requests = self.callPackage ./packages/requests { };
python-crontab = self.callPackage ./packages/python-crontab { };
@ -61,16 +59,12 @@ self: super: {
oauthlib = self.callPackage ./packages/oauthlib { };
psycopg2 = self.callPackage ./packages/psycopg2 { };
django-celery-beat = self.callPackage ./packages/django-celery-beat { };
redis = self.callPackage ./packages/redis { };
httptools = self.callPackage ./packages/httptools { };
twisted = self.callPackage ./packages/twisted { };
typing-extensions = self.callPackage ./packages/typing-extensions { };
boto3 = self.callPackage ./packages/boto3 { };
@ -91,12 +85,15 @@ self: super: {
websockets = self.callPackage ./packages/websockets { };
cryptography = self.callPackage ./packages/cryptography { };
psutil = self.callPackage ./packages/psutil { };
botocore = self.callPackage ./packages/botocore { };
pillow = self.callPackage ./packages/pillow { };
sqlalchemy = super.sqlalchemy.overridePythonAttrs (_: {
doCheck = false;
});
fakeredis = super.fakeredis.overridePythonAttrs (_: {
doCheck = false;
});
}

View file

@ -25,6 +25,10 @@ buildPythonPackage rec {
click-plugins
];
prePatch = ''
sed -i '/setuptools/d' requirements/default.txt
'';
# TODO FIXME
doCheck = false;

View file

@ -1,20 +0,0 @@
# WARNING: This file was automatically generated. You should avoid editing it.
# If you run pynixify again, the file will be either overwritten or
# deleted, and you will lose the changes you made to it.
{ buildPythonPackage, fetchPypi, lib }:
buildPythonPackage rec {
pname = "cryptography";
version = "38.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1mrkmsq0hpgs3k38qqabp3knnf7cv6amchwngwqzlca9l43xicqx";
};
# TODO FIXME
doCheck = false;
meta = with lib; { };
}

View file

@ -15,7 +15,7 @@ buildPythonPackage rec {
};
buildInputs = [ pytest-runner ];
propagatedBuildInputs = [ twisted autobahn asgiref ];
propagatedBuildInputs = [ twisted autobahn asgiref ] ++ twisted.optional-dependencies.tls;
# TODO FIXME
doCheck = false;

View file

@ -1,20 +0,0 @@
# WARNING: This file was automatically generated. You should avoid editing it.
# If you run pynixify again, the file will be either overwritten or
# deleted, and you will lose the changes you made to it.
{ buildPythonPackage, fetchPypi, lib }:
buildPythonPackage rec {
pname = "jsonschema";
version = "4.16.0";
src = fetchPypi {
inherit pname version;
sha256 = "08sbw5fn19vn8x7c216gkczyzd575702yx2vmqdrgxpgfvq5jl0n";
};
# TODO FIXME
doCheck = false;
meta = with lib; { };
}

View file

@ -1,21 +0,0 @@
# WARNING: This file was automatically generated. You should avoid editing it.
# If you run pynixify again, the file will be either overwritten or
# deleted, and you will lose the changes you made to it.
{ buildPythonPackage, fetchPypi, lib }:
buildPythonPackage rec {
pname = "pillow";
version = "9.0.0";
src = fetchPypi {
inherit version;
pname = "Pillow";
sha256 = "0gjry0yqryd2678sm47jhdnbghzxn5wk8pgyaqwr4qi7x5ijjvpf";
};
# TODO FIXME
doCheck = false;
meta = with lib; { };
}

View file

@ -1,23 +0,0 @@
# WARNING: This file was automatically generated. You should avoid editing it.
# If you run pynixify again, the file will be either overwritten or
# deleted, and you will lose the changes you made to it.
{ buildPythonPackage, fetchPypi, lib }:
buildPythonPackage rec {
pname = "psycopg2";
version = "2.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "0z0v2d5gpgy0wf2ypqxv955c9k44yszd7r20km5s79yhy6k06lyy";
};
# TODO FIXME
doCheck = false;
meta = with lib; {
description = "psycopg2 - Python-PostgreSQL Database Adapter";
homepage = "https://psycopg.org/";
};
}

View file

@ -2,11 +2,12 @@
# If you run pynixify again, the file will be either overwritten or
# deleted, and you will lose the changes you made to it.
{ buildPythonPackage, fetchPypi, lib }:
{ buildPythonPackage, fetchPypi, lib, flit-core }:
buildPythonPackage rec {
pname = "typing-extensions";
version = "4.4.0";
format = "pyproject";
src = fetchPypi {
inherit version;
@ -14,6 +15,10 @@ buildPythonPackage rec {
sha256 = "1al7634rq9zqw1s7d1nbry0l23c05s0wrc8jihcxvy1bp55l648m";
};
nativeBuildInputs = [
flit-core
];
# TODO FIXME
doCheck = false;