2021-11-17 12:31:52 +00:00
|
|
|
let
|
2022-06-24 13:50:24 +00:00
|
|
|
pkgs = import <nixpkgs> { };
|
2021-11-17 12:31:52 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
self: super: rec {
|
2022-06-24 13:44:47 +00:00
|
|
|
python39 = super.pkgs.python39.override {
|
2022-06-24 13:37:00 +00:00
|
|
|
packageOverrides = self: super: {
|
2022-06-24 13:50:24 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
2022-06-24 13:37:00 +00:00
|
|
|
};
|
|
|
|
|
2022-06-24 13:50:24 +00:00
|
|
|
python39Packages = python39.pkgs;
|
|
|
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
|
|
|
pythonPkgs = python39Packages;
|
|
|
|
};
|
|
|
|
}
|