mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-23 04:31:26 +00:00
Try overlay again
This commit is contained in:
parent
762719f1f1
commit
7d36295dce
26
default.nix
26
default.nix
|
@ -3,5 +3,31 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
self: super: rec {
|
self: super: rec {
|
||||||
|
python = super.python.override {
|
||||||
|
packageOverrides = python-self: python-super: {
|
||||||
|
strawberry_graphql = python-super.buildPythonPackage rec {
|
||||||
|
pname = "strawberry-graphql";
|
||||||
|
version = "0.114.5";
|
||||||
|
format = "pyproject";
|
||||||
|
patches = [
|
||||||
|
./strawberry-graphql.patch
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = with self.python39Packages [
|
||||||
|
typing-extensions
|
||||||
|
graphql-core
|
||||||
|
python-multipart
|
||||||
|
python-dateutil
|
||||||
|
flask
|
||||||
|
pydantic
|
||||||
|
pygments
|
||||||
|
poetry
|
||||||
|
];
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b6e007281cf29a66eeba66a512744853d8aa53b4ca2525befb6f350bb7b24df6";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {};
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,42 +4,6 @@ let
|
||||||
inherit (nixpkgs) pkgs;
|
inherit (nixpkgs) pkgs;
|
||||||
inherit pythonPkgs;
|
inherit pythonPkgs;
|
||||||
|
|
||||||
strawberry-graphql =
|
|
||||||
{ buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, flask
|
|
||||||
, pydantic
|
|
||||||
, typing-extensions
|
|
||||||
, graphql-core
|
|
||||||
, python-multipart
|
|
||||||
, python-dateutil
|
|
||||||
, pygments
|
|
||||||
, poetry
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "strawberry-graphql";
|
|
||||||
version = "0.114.5";
|
|
||||||
format = "pyproject";
|
|
||||||
patches = [
|
|
||||||
./strawberry-graphql.patch
|
|
||||||
];
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
typing-extensions
|
|
||||||
graphql-core
|
|
||||||
python-multipart
|
|
||||||
python-dateutil
|
|
||||||
flask
|
|
||||||
pydantic
|
|
||||||
pygments
|
|
||||||
poetry
|
|
||||||
];
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "b6e007281cf29a66eeba66a512744853d8aa53b4ca2525befb6f350bb7b24df6";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
selfprivacy-api =
|
selfprivacy-api =
|
||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
@ -81,7 +45,7 @@ let
|
||||||
gevent
|
gevent
|
||||||
mnemonic
|
mnemonic
|
||||||
pydantic
|
pydantic
|
||||||
(pythonPkgs.callPackage strawberry-graphql { })
|
strawberry_graphql
|
||||||
];
|
];
|
||||||
meta = {
|
meta = {
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Reference in a new issue