forked from mirrors/nixpkgs
Merge pull request #170672 from felschr/fix/etebase-server
Fix etebase-server pyproject build error
This commit is contained in:
commit
f410841566
|
@ -4105,11 +4105,18 @@
|
|||
matrix = "@felschr:matrix.org";
|
||||
github = "felschr";
|
||||
githubId = 3314323;
|
||||
name = "Felix Tenley";
|
||||
keys = [{
|
||||
longkeyid = "ed25519/0x910ACB9F6BD26F58";
|
||||
fingerprint = "6AB3 7A28 5420 9A41 82D9 0068 910A CB9F 6BD2 6F58";
|
||||
}];
|
||||
name = "Felix Schröter";
|
||||
keys = [
|
||||
{
|
||||
# historical
|
||||
longkeyid = "ed25519/0x910ACB9F6BD26F58";
|
||||
fingerprint = "6AB3 7A28 5420 9A41 82D9 0068 910A CB9F 6BD2 6F58";
|
||||
}
|
||||
{
|
||||
longkeyid = "ed25519/0x671E39E6744C807D";
|
||||
fingerprint = "7E08 6842 0934 AA1D 6821 1F2A 671E 39E6 744C 807D";
|
||||
}
|
||||
];
|
||||
};
|
||||
ffinkdevs = {
|
||||
email = "fink@h0st.space";
|
||||
|
|
|
@ -1,18 +1,10 @@
|
|||
{ lib, stdenv, python3, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
django = super.django_3;
|
||||
};
|
||||
};
|
||||
in
|
||||
with py.pkgs;
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, aioredis, aiofiles, django_3
|
||||
, fastapi, msgpack, pynacl, typing-extensions }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "etebase-server";
|
||||
version = "0.8.3";
|
||||
format = "pyproject";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "etesync";
|
||||
|
@ -23,21 +15,14 @@ buildPythonPackage rec {
|
|||
|
||||
patches = [ ./secret.patch ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
asgiref
|
||||
cffi
|
||||
django
|
||||
django-cors-headers
|
||||
djangorestframework
|
||||
drf-nested-routers
|
||||
propagatedBuildInputs = [
|
||||
aioredis
|
||||
aiofiles
|
||||
django_3
|
||||
fastapi
|
||||
msgpack
|
||||
psycopg2
|
||||
pycparser
|
||||
pynacl
|
||||
pytz
|
||||
six
|
||||
sqlparse
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue