i am naive

This commit is contained in:
Inex Code 2022-06-24 16:55:15 +03:00
parent 023270f94f
commit c828c99a2c
4 changed files with 22 additions and 62 deletions

View file

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

View file

@ -21,7 +21,6 @@ let
, mnemonic
, pydantic
, typing-extensions
, strawberry_graphql
}:
buildPythonPackage rec {
pname = "selfprivacy-api";
@ -45,7 +44,28 @@ let
huey
gevent
mnemonic
strawberry_graphql
(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";
};
})
];
meta = {
description = ''

View file

@ -1,30 +0,0 @@
{ lib, buildPythonPackage }
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";
};
meta = with lib; {
homepage = "https://strawberry.rocks/";
license = "MIT";
};
}