mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 05:51:30 +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
|
in
|
||||||
|
|
||||||
self: super: rec {
|
self: super: rec {
|
||||||
python39 = super.python39.override {
|
python39 = pkgs.python39.override {
|
||||||
packageOverrides = python-self: python-super: {
|
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 {
|
strawberry_graphql = python-super.buildPythonPackage rec {
|
||||||
pname = "strawberry-graphql";
|
pname = "strawberry-graphql";
|
||||||
version = "0.123.0";
|
version = "0.123.0";
|
||||||
|
@ -26,7 +17,7 @@ self: super: rec {
|
||||||
patches = [
|
patches = [
|
||||||
./strawberry-graphql.patch
|
./strawberry-graphql.patch
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = with self.python39Packages; [
|
propagatedBuildInputs = with pkgs.python39Packages; [
|
||||||
typing-extensions
|
typing-extensions
|
||||||
graphql-core
|
graphql-core
|
||||||
python-multipart
|
python-multipart
|
||||||
|
|
Loading…
Reference in a new issue