mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-29 15:31:28 +00:00
override packages
This commit is contained in:
parent
e58ec2081f
commit
402ca26c0d
13
default.nix
13
default.nix
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue