This commit is contained in:
Inex Code 2022-06-24 17:04:25 +03:00
parent b792f7f02e
commit ddf07797fd

View file

@ -4,6 +4,42 @@ let
inherit (nixpkgs) pkgs; inherit (nixpkgs) pkgs;
inherit pythonPkgs; inherit pythonPkgs;
strawberry-graphql =
{ buildPythonPackage
, fetchPypi
, flask
, pydantic
, typing-extensions
, graphql-core
, python-multipart
, python-dateutil
, pygments
, poetry
}:
buildPythonPackage rec {
pname = "strawberry-graphql";
version = "0.114.5";
format = "pyproject";
patches = [
./strawberry-graphql.patch
];
propagatedBuildInputs = [
typing-extensions
graphql-core
python-multipart
python-dateutil
flask
pydantic
pygments
poetry
];
src = fetchPypi {
inherit pname version;
sha256 = "b6e007281cf29a66eeba66a512744853d8aa53b4ca2525befb6f350bb7b24df6";
};
};
selfprivacy-api = selfprivacy-api =
{ buildPythonPackage { buildPythonPackage
, fetchPypi , fetchPypi
@ -21,12 +57,6 @@ let
, gevent , gevent
, mnemonic , mnemonic
, pydantic , pydantic
, typing-extensions
, graphql-core
, python-multipart
, python-dateutil
, pygments
, poetry
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "selfprivacy-api"; pname = "selfprivacy-api";
@ -50,29 +80,8 @@ let
huey huey
gevent gevent
mnemonic mnemonic
graphql-core
(buildPythonPackage rec {
pname = "strawberry-graphql";
version = "0.114.5";
format = "pyproject";
patches = [
./strawberry-graphql.patch
];
propagatedBuildInputs = [
typing-extensions
graphql-core
python-multipart
python-dateutil
flask
pydantic pydantic
pygments strawberry-graphql
poetry
];
src = fetchPypi {
inherit pname version;
sha256 = "b6e007281cf29a66eeba66a512744853d8aa53b4ca2525befb6f350bb7b24df6";
};
})
]; ];
meta = { meta = {
description = '' description = ''