mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-22 20:21:27 +00:00
40 lines
1,011 B
Nix
40 lines
1,011 B
Nix
let
|
|
pkgs = import <nixpkgs> { };
|
|
in
|
|
|
|
self: super: rec {
|
|
python39 = super.pkgs.python39.override {
|
|
packageOverrides = self: super: {
|
|
strawberry_graphql = super.buildPythonPackage
|
|
rec {
|
|
pname = "strawberry-graphql";
|
|
version = "0.114.5";
|
|
format = "pyproject";
|
|
patches = [
|
|
./strawberry-graphql/strawberry-graphql.patch
|
|
];
|
|
propagatedBuildInputs = with super.pkgs; [
|
|
typing-extensions
|
|
graphql-core
|
|
python-multipart
|
|
python-dateutil
|
|
flask
|
|
pydantic
|
|
pygments
|
|
poetry
|
|
];
|
|
|
|
src = super.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b6e007281cf29a66eeba66a512744853d8aa53b4ca2525befb6f350bb7b24df6";
|
|
};
|
|
}
|
|
};
|
|
};
|
|
|
|
python39Packages = python39.pkgs;
|
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
|
pythonPkgs = python39Packages;
|
|
};
|
|
}
|