forked from SelfPrivacy/selfprivacy-nix-repo
Compare commits
118 Commits
master
...
test-upstr
Author | SHA1 | Date |
---|---|---|
inexcode | d31fc39fa6 | |
inexcode | 30e613f1a9 | |
inexcode | 6fbced15e6 | |
inexcode | 53937812a4 | |
inexcode | 1a216a0b1f | |
inexcode | 31c30f7ae1 | |
inexcode | 4124e24cae | |
inexcode | fc5ad2152e | |
inexcode | fd1a33dbcc | |
inexcode | 065350c5f0 | |
inexcode | 3138d44308 | |
inexcode | 49242b5a83 | |
inexcode | 5fb0a1e0e6 | |
inexcode | e56e1994cd | |
inexcode | d9e797d274 | |
inexcode | c05124866d | |
inexcode | 02ade5b29d | |
inexcode | f2638dcce1 | |
inexcode | 2b461ebc9e | |
inexcode | f8da2059e1 | |
inexcode | 9f22b308ee | |
inexcode | 000fc0f057 | |
inexcode | 2415382acd | |
inexcode | 767501b854 | |
inexcode | 0301d04de6 | |
inexcode | 8b7e91dcfd | |
inexcode | 4f74abf105 | |
inexcode | f991c626f8 | |
inexcode | 47384698a0 | |
inexcode | 0970931614 | |
inexcode | bb7641fdf4 | |
inexcode | 36e1855b9c | |
inexcode | cb033ca27c | |
inexcode | 6e1d75fc5c | |
inexcode | 0e038f0a22 | |
inexcode | 7c8ede8425 | |
inexcode | 402ca26c0d | |
inexcode | e58ec2081f | |
inexcode | 18033d0665 | |
inexcode | f818c88461 | |
inexcode | 11adf9e612 | |
inexcode | 1d8d66fb9e | |
inexcode | 3f04e8aae6 | |
inexcode | 1fc90c36ef | |
inexcode | 2abf4b360f | |
inexcode | 1a38af595e | |
inexcode | 8b1d08f3aa | |
inexcode | 0a2fa826db | |
inexcode | 766117da01 | |
inexcode | e1fad3cc74 | |
inexcode | c526c197c3 | |
inexcode | 9f7bc2a89f | |
inexcode | 932febd3dc | |
inexcode | e4651e28e7 | |
inexcode | 654d17f7d6 | |
inexcode | 117a99ff4d | |
inexcode | 24b20043a1 | |
inexcode | 1a3b6c8782 | |
inexcode | b900c7d1c0 | |
Inex Code | 0a1fe41eda | |
Inex Code | f66a038a4f | |
Inex Code | 24ca661cb0 | |
Inex Code | 1f9ffc7cc8 | |
Inex Code | d7627c26cc | |
Inex Code | 0e5ee12011 | |
Inex Code | 42b6c576d7 | |
Inex Code | 8998b9af78 | |
Inex Code | 3b51e2d4ee | |
Inex Code | df1d3a3086 | |
Inex Code | a9e53a9270 | |
inexcode | 548f31511e | |
inexcode | e67d3d831d | |
inexcode | 7fb8f34ec9 | |
Inex Code | 5473f2e633 | |
Inex Code | 216966a8da | |
Inex Code | 356698caf5 | |
Inex Code | 014ab10fd0 | |
Inex Code | fbc3dbac17 | |
Inex Code | e37726e311 | |
Inex Code | b675f484f8 | |
Inex Code | 36fcb57c9e | |
Inex Code | fd676eccce | |
Inex Code | 2951c66aad | |
Inex Code | a8e32f1cfc | |
Inex Code | 1512e5b4ea | |
Inex Code | 1fb5ea5520 | |
Inex Code | 8683b8f500 | |
Inex Code | 9cb3c5dce5 | |
Inex Code | 8ddf6710bf | |
Inex Code | 60f04266fd | |
Inex Code | edf86fd05b | |
Inex Code | c37dfc8ab5 | |
Inex Code | 423ff97688 | |
Inex Code | b8b1b9ebe3 | |
Inex Code | d0a4f8f30f | |
Inex Code | d49ca7c42e | |
Inex Code | 7d36295dce | |
Inex Code | 762719f1f1 | |
Inex Code | c4e439d45e | |
Inex Code | ddf07797fd | |
Inex Code | b792f7f02e | |
Inex Code | 4ac14b3bef | |
Inex Code | 621cd5610a | |
Inex Code | c828c99a2c | |
Inex Code | 023270f94f | |
Inex Code | cf701f1668 | |
Inex Code | d7c0b43c0e | |
Inex Code | 74a057efd6 | |
Inex Code | 32be5a4d13 | |
Inex Code | 2461867cb9 | |
Inex Code | 438fe51d3c | |
Inex Code | d6f22a039f | |
Inex Code | 3dc0ece017 | |
Inex Code | 935a862001 | |
Inex Code | 6bfde54dce | |
Inex Code | e07b0c1707 | |
Inex Code | cd14e50d0f | |
Inex Code | 45499a501e |
30
default.nix
30
default.nix
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue