mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 14:01:31 +00:00
????????
This commit is contained in:
parent
74a057efd6
commit
d7c0b43c0e
43
default.nix
43
default.nix
|
@ -1,18 +1,39 @@
|
||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> {};
|
pkgs = import <nixpkgs> { };
|
||||||
in
|
in
|
||||||
|
|
||||||
self: super: rec {
|
self: super: rec {
|
||||||
python39 = super.pkgs.python39.override {
|
python39 = super.pkgs.python39.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
strawberry_graphql = super.callPackage ./pkgs/strawberry_graphql {
|
strawberry_graphql = super.buildPythonPackage
|
||||||
buildPythonPackage = 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
|
||||||
|
];
|
||||||
|
|
||||||
python39Packages = python39.pkgs;
|
src = super.fetchPypi {
|
||||||
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
inherit pname version;
|
||||||
pythonPkgs = python39Packages;
|
sha256 = "b6e007281cf29a66eeba66a512744853d8aa53b4ca2525befb6f350bb7b24df6";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
python39Packages = python39.pkgs;
|
||||||
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
|
||||||
|
pythonPkgs = python39Packages;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue