override packages

This commit is contained in:
Inex Code 2022-08-12 19:33:12 +04:00
parent e58ec2081f
commit 402ca26c0d

View file

@ -8,17 +8,8 @@ let
in
self: super: rec {
python39 = super.python39.override {
python39 = pkgs.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";
@ -26,7 +17,7 @@ self: super: rec {
patches = [
./strawberry-graphql.patch
];
propagatedBuildInputs = with self.python39Packages; [
propagatedBuildInputs = with pkgs.python39Packages; [
typing-extensions
graphql-core
python-multipart