mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 14:01:31 +00:00
weird
This commit is contained in:
parent
b792f7f02e
commit
ddf07797fd
|
@ -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
|
pydantic
|
||||||
(buildPythonPackage rec {
|
strawberry-graphql
|
||||||
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";
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
meta = {
|
meta = {
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Reference in a new issue