2021-11-17 12:31:52 +00:00
|
|
|
let
|
2022-08-25 18:27:14 +00:00
|
|
|
pkgs = import <nixpkgs> { };
|
2021-11-17 12:31:52 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
self: super: rec {
|
2022-08-25 18:27:14 +00:00
|
|
|
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=";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
pythonPackages = python39.pkgs;
|
|
|
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {};
|
|
|
|
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
|
|
|
|
nixpkgs = pkgs;
|
|
|
|
pythonPkgs = pythonPackages;
|
|
|
|
};
|
2021-11-17 12:31:52 +00:00
|
|
|
}
|