let pkgs = let hostPkgs = import {}; pinnedPkgs = hostPkgs.fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs"; rev = "45c9736ed69800a6ff2164fb4538c9e40dad25d6"; hash = "sha256:0q84mvh4liacqv8fdxpkm28233mfm5x1s36wwxhwdq01jivk58xn"; }; in import pinnedPkgs {}; hostPkgs = import {}; in self: super: rec { python39 = self.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 pkgs.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 = hostPkgs; pythonPkgs = pythonPackages; lib = pkgs.lib; }; selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api { pkgs = hostPkgs; pythonPkgs = pythonPackages; lib = pkgs.lib; }; }