Compare commits

..

118 Commits

Author SHA1 Message Date
inexcode d31fc39fa6 fix package name 2022-08-16 12:57:29 +04:00
inexcode 30e613f1a9 Test upstream Strawberry 2022-08-16 12:51:42 +04:00
inexcode 6fbced15e6 fix 2022-08-16 01:44:38 +04:00
inexcode 53937812a4 fix 2022-08-16 01:31:38 +04:00
inexcode 1a216a0b1f fix 2022-08-15 23:48:58 +04:00
inexcode 31c30f7ae1 Serialize custom types 2022-08-15 23:37:53 +04:00
inexcode 4124e24cae fix 2022-08-15 23:13:15 +04:00
inexcode fc5ad2152e test 2022-08-15 23:07:10 +04:00
inexcode fd1a33dbcc fix 2022-08-15 22:51:15 +04:00
inexcode 065350c5f0 Use jobs file to transfer data between threads 2022-08-15 22:37:47 +04:00
inexcode 3138d44308 add task registry 2022-08-13 04:00:05 +04:00
inexcode 49242b5a83 add passthru 2022-08-13 03:52:08 +04:00
inexcode 5fb0a1e0e6 fixes 2022-08-13 03:39:50 +04:00
inexcode e56e1994cd debug 2022-08-13 03:27:56 +04:00
inexcode d9e797d274 switch to minihuey 2022-08-13 03:23:09 +04:00
inexcode c05124866d fix 2022-08-13 02:32:22 +04:00
inexcode 02ade5b29d fix infinite recursion 2022-08-13 02:27:10 +04:00
inexcode f2638dcce1 upd 2022-08-13 02:18:25 +04:00
inexcode 2b461ebc9e upd 2022-08-13 02:12:42 +04:00
inexcode f8da2059e1 upd 2022-08-13 01:52:51 +04:00
inexcode 9f22b308ee upd 2022-08-13 01:42:43 +04:00
inexcode 000fc0f057 upd 2022-08-13 01:35:12 +04:00
inexcode 2415382acd update api 2022-08-13 01:29:52 +04:00
inexcode 767501b854 fix 2022-08-12 22:04:50 +04:00
inexcode 0301d04de6 Remove passthru 2022-08-12 21:54:05 +04:00
inexcode 8b7e91dcfd aaa 2022-08-12 21:38:08 +04:00
inexcode 4f74abf105 roll back 2022-08-12 21:35:42 +04:00
inexcode f991c626f8 unpin nixpkgs 2022-08-12 21:27:14 +04:00
inexcode 47384698a0 uh? 2022-08-12 21:24:22 +04:00
inexcode 0970931614 Move pythonPkgs 2022-08-12 21:21:25 +04:00
inexcode bb7641fdf4 try out using host packages and newer python packages 2022-08-12 20:39:42 +04:00
inexcode 36e1855b9c Isolate python packages 2022-08-12 20:09:16 +04:00
inexcode cb033ca27c add actual hash 2022-08-12 19:50:21 +04:00
inexcode 6e1d75fc5c add hash type 2022-08-12 19:47:01 +04:00
inexcode 0e038f0a22 hash 2022-08-12 19:40:48 +04:00
inexcode 7c8ede8425 rewrite import 2022-08-12 19:38:07 +04:00
inexcode 402ca26c0d override packages 2022-08-12 19:33:12 +04:00
inexcode e58ec2081f bump graphql-core 2022-08-12 19:30:14 +04:00
inexcode 18033d0665 add lib 2022-08-12 19:28:11 +04:00
inexcode f818c88461 h 2022-08-12 19:26:38 +04:00
inexcode 11adf9e612 fix pkgs passtru 2022-08-12 19:25:46 +04:00
inexcode 1d8d66fb9e fix pkgs inherit 2022-08-12 19:22:00 +04:00
inexcode 3f04e8aae6 Remove ref 2022-08-12 19:18:05 +04:00
inexcode 1fc90c36ef Force use nixpkgs 22.05 2022-08-12 19:16:41 +04:00
inexcode 2abf4b360f aaa 2022-08-12 18:49:56 +04:00
inexcode 1a38af595e uh 2022-08-12 18:44:22 +04:00
inexcode 8b1d08f3aa import fetchers? 2022-08-12 18:43:06 +04:00
inexcode 0a2fa826db di 2022-08-12 18:15:13 +04:00
inexcode 766117da01 Bump more deps 2022-08-12 18:14:17 +04:00
inexcode e1fad3cc74 fix di 2022-08-12 18:03:54 +04:00
inexcode c526c197c3 fix di 2022-08-12 18:02:55 +04:00
inexcode 9f7bc2a89f Overwrite graphql-core 2022-08-12 18:02:13 +04:00
inexcode 932febd3dc Switch graphql-core 2022-08-12 17:59:24 +04:00
inexcode e4651e28e7 Fix branch 2022-08-12 17:51:36 +04:00
inexcode 654d17f7d6 fix di 2022-08-12 17:49:40 +04:00
inexcode 117a99ff4d Fix 2022-08-12 17:48:24 +04:00
inexcode 24b20043a1 Move to buildPythonApplication 2022-08-12 17:43:34 +04:00
inexcode 1a3b6c8782 Merge branch 'graphql' of git.selfprivacy.org:SelfPrivacy/selfprivacy-nix-repo into graphql 2022-08-12 16:12:08 +04:00
inexcode b900c7d1c0 Add API 2.0 to the repo 2022-08-12 16:12:02 +04:00
Inex Code 0a1fe41eda fix 2022-08-03 14:06:45 +03:00
Inex Code f66a038a4f uuh 2022-08-02 23:30:19 +03:00
Inex Code 24ca661cb0 aah 2022-08-02 23:13:01 +03:00
Inex Code 1f9ffc7cc8 here we go again 2022-08-02 23:08:47 +03:00
Inex Code d7627c26cc Fix types 2022-08-02 22:58:53 +03:00
Inex Code 0e5ee12011 Register subscription 2022-08-02 22:54:01 +03:00
Inex Code 42b6c576d7 Test subscription 2022-08-02 22:50:49 +03:00
Inex Code 8998b9af78 Update Strawberry 0.114.5 → 0.123.0 2022-08-01 13:29:55 +03:00
Inex Code 3b51e2d4ee Backport graphql-core to NixOS 21.11 2022-08-01 13:28:44 +03:00
Inex Code df1d3a3086 Update 2022-07-30 18:02:10 +03:00
Inex Code a9e53a9270 Update 2022-07-30 17:52:51 +03:00
inexcode 548f31511e Add volume migration 2022-07-26 15:34:26 +03:00
inexcode e67d3d831d patch 2022-07-25 17:18:19 +03:00
inexcode 7fb8f34ec9 Storage management 2022-07-25 17:09:17 +03:00
Inex Code 5473f2e633 bindings 2022-06-24 21:18:35 +03:00
Inex Code 216966a8da system getters 2022-06-24 21:14:41 +03:00
Inex Code 356698caf5 add cors 2022-06-24 20:26:17 +03:00
Inex Code 014ab10fd0 ratarft 2022-06-24 20:12:41 +03:00
Inex Code fbc3dbac17 auth 2022-06-24 20:09:10 +03:00
Inex Code e37726e311 date parsing 2022-06-24 19:50:53 +03:00
Inex Code b675f484f8 fixes 2022-06-24 19:35:54 +03:00
Inex Code 36fcb57c9e rstrtf 2022-06-24 19:29:12 +03:00
Inex Code fd676eccce upd 2022-06-24 19:24:28 +03:00
Inex Code 2951c66aad upd 2022-06-24 19:17:23 +03:00
Inex Code a8e32f1cfc fix typo 2022-06-24 18:23:28 +03:00
Inex Code 1512e5b4ea update 2022-06-24 18:21:26 +03:00
Inex Code 1fb5ea5520 rollback 2022-06-24 18:14:21 +03:00
Inex Code 8683b8f500 bump version 2022-06-24 18:05:59 +03:00
Inex Code 9cb3c5dce5 api 2022-06-24 18:02:52 +03:00
Inex Code 8ddf6710bf resolver 2022-06-24 17:50:20 +03:00
Inex Code 60f04266fd move patch 2022-06-24 17:29:57 +03:00
Inex Code edf86fd05b py39 2022-06-24 17:29:27 +03:00
Inex Code c37dfc8ab5 define python3 2022-06-24 17:28:46 +03:00
Inex Code 423ff97688 uh 2022-06-24 17:28:00 +03:00
Inex Code b8b1b9ebe3 add import 2022-06-24 17:26:33 +03:00
Inex Code d0a4f8f30f pypi 2022-06-24 17:26:03 +03:00
Inex Code d49ca7c42e semicolon 2022-06-24 17:25:41 +03:00
Inex Code 7d36295dce Try overlay again 2022-06-24 17:25:03 +03:00
Inex Code 762719f1f1 remove semicolon 2022-06-24 17:06:51 +03:00
Inex Code c4e439d45e huh 2022-06-24 17:06:26 +03:00
Inex Code ddf07797fd weird 2022-06-24 17:04:25 +03:00
Inex Code b792f7f02e ?.. 2022-06-24 17:02:11 +03:00
Inex Code 4ac14b3bef deps 2022-06-24 16:56:55 +03:00
Inex Code 621cd5610a fetchpypi 2022-06-24 16:55:54 +03:00
Inex Code c828c99a2c i am naive 2022-06-24 16:55:15 +03:00
Inex Code 023270f94f ? 2022-06-24 16:51:59 +03:00
Inex Code cf701f1668 semicolon 2022-06-24 16:50:51 +03:00
Inex Code d7c0b43c0e ???????? 2022-06-24 16:50:24 +03:00
Inex Code 74a057efd6 ????? 2022-06-24 16:44:47 +03:00
Inex Code 32be5a4d13 ??? 2022-06-24 16:43:48 +03:00
Inex Code 2461867cb9 fix typo 2022-06-24 16:40:10 +03:00
Inex Code 438fe51d3c add super 2022-06-24 16:38:54 +03:00
Inex Code d6f22a039f semicolon 2022-06-24 16:38:26 +03:00
Inex Code 3dc0ece017 semicolon 2022-06-24 16:37:48 +03:00
Inex Code 935a862001 Add strawberry to repo 2022-06-24 16:37:00 +03:00
Inex Code 6bfde54dce Update strawberry patch 2022-06-24 16:17:30 +03:00
Inex Code e07b0c1707 Patch strawberry 2022-06-24 16:13:22 +03:00
Inex Code cd14e50d0f semicolon 2022-06-24 16:06:48 +03:00
Inex Code 45499a501e Test graphql 2022-06-24 16:06:00 +03:00
3 changed files with 20 additions and 36 deletions

View File

@ -3,36 +3,10 @@ let
in
self: super: rec {
python39 = super.python39.override {
packageOverrides = python-self: python-super: {
strawberry_graphql = python-super.buildPythonPackage rec {
pname = "strawberry-graphql";
version = "0.123.0";
format = "pyproject";
patches = [
./strawberry-graphql.patch
];
propagatedBuildInputs = with self.python39Packages; [
typing-extensions
graphql-core
python-multipart
python-dateutil
flask
pydantic
pygments
poetry
];
src = python-super.fetchPypi {
inherit pname version;
sha256 = "sha256-KsmZ5Xv8tUg6yBxieAEtvoKoRG60VS+iVGV0X6oCExo=";
};
};
};
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
nixpkgs = pkgs;
};
pythonPackages = python39.pkgs;
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {};
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
nixpkgs = pkgs;
pythonPkgs = pythonPackages;
};
}

View File

@ -6,8 +6,10 @@ let
selfprivacy-api =
{ buildPythonPackage
, fetchPypi
, flask
, flask-restful
, flask-cors
, setuptools
, portalocker
, flask-swagger
@ -19,17 +21,22 @@ let
, huey
, gevent
, mnemonic
, pydantic
, strawberry-graphql
, psutil
}:
buildPythonPackage rec {
pythonPkgs.buildPythonPackage rec {
pname = "selfprivacy-api";
version = "1.2.6";
src = builtins.fetchGit {
url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git";
rev = "401dff23fb9223e8a0a4bd3ee942c61e471a07ab";
rev = "9132b70e709b19ddc393859ce23f8a5c342fa4e8";
ref = "test-branch";
};
propagatedBuildInputs = [
flask
flask-restful
flask-cors
setuptools
portalocker
flask-swagger
@ -41,6 +48,9 @@ let
huey
gevent
mnemonic
pydantic
strawberry-graphql
psutil
];
meta = {
description = ''

View File

@ -18,18 +18,18 @@ let
, mnemonic
, pydantic
, typing-extensions
, strawberry_graphql
, strawberry-graphql
, psutil
, fastapi
, uvicorn
}:
pythonPkgs.buildPythonApplication rec {
pname = "selfprivacy-graphql-api";
version = "2.0.9";
version = "2.0.0";
src = builtins.fetchGit {
url = "https://git.selfprivacy.org/houkime/selfprivacy-rest-api.git";
ref = "deploy";
#rev = "0a09a338b850704f221bd9b451519290584ef209";
url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git";
rev = "7fe51eb665f0f8ab18638af3cc4452f9c0d87b34";
ref = "fastapi";
};
propagatedBuildInputs = [
setuptools
@ -43,7 +43,7 @@ let
mnemonic
pydantic
typing-extensions
strawberry_graphql
strawberry-graphql
psutil
fastapi
uvicorn