mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-22 20:21:27 +00:00
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
let
|
|
pkgs = import <nixpkgs> { };
|
|
in
|
|
|
|
self: super: rec {
|
|
python39 = super.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 self.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 {};
|
|
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
|
|
nixpkgs = pkgs;
|
|
pythonPkgs = pythonPackages;
|
|
};
|
|
}
|