selfprivacy-nix-repo/default.nix

34 lines
881 B
Nix
Raw Normal View History

2021-11-17 12:31:52 +00:00
let
2022-06-24 13:50:24 +00:00
pkgs = import <nixpkgs> { };
2021-11-17 12:31:52 +00:00
in
self: super: rec {
2022-06-24 14:25:03 +00:00
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
];
2022-06-24 14:25:41 +00:00
propagatedBuildInputs = with self.python39Packages; [
2022-06-24 14:25:03 +00:00
typing-extensions
graphql-core
python-multipart
python-dateutil
flask
pydantic
pygments
poetry
];
2022-06-24 14:26:03 +00:00
src = python-super.fetchPypi {
2022-06-24 14:25:03 +00:00
inherit pname version;
sha256 = "b6e007281cf29a66eeba66a512744853d8aa53b4ca2525befb6f350bb7b24df6";
};
};
};
};
2022-06-24 13:51:59 +00:00
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {};
2022-06-24 13:50:51 +00:00
}