let hostPkgs = import {}; pkgs = hostPkgs.fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs"; rev = "45c9736ed69800a6ff2164fb4538c9e40dad25d6"; }; in self: super: rec { python39 = super.python39.override { packageOverrides = python-self: python-super: { graphql-core = python-super.buildPythonPackage rec { pname = "graphql-core"; version = "3.2.0"; format = "setuptools"; src = python-super.fetchPypi { inherit pname version; sha256 = "sha256-huKgvgCL/eGe94OI3opyWh2UKpGQykMcJKYIN5c4A84="; }; }; 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 { pkgs = pkgs; pythonPkgs = pythonPackages; lib = hostPkgs.lib; }; selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api { pkgs = pkgs; pythonPkgs = pythonPackages; lib = hostPkgs.lib; }; }