mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 22:11:30 +00:00
i am naive
This commit is contained in:
parent
023270f94f
commit
c828c99a2c
30
default.nix
30
default.nix
|
@ -3,35 +3,5 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
self: super: rec {
|
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 {};
|
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,6 @@ let
|
||||||
, mnemonic
|
, mnemonic
|
||||||
, pydantic
|
, pydantic
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, strawberry_graphql
|
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "selfprivacy-api";
|
pname = "selfprivacy-api";
|
||||||
|
@ -45,7 +44,28 @@ let
|
||||||
huey
|
huey
|
||||||
gevent
|
gevent
|
||||||
mnemonic
|
mnemonic
|
||||||
strawberry_graphql
|
(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";
|
||||||
|
};
|
||||||
|
})
|
||||||
];
|
];
|
||||||
meta = {
|
meta = {
|
||||||
description = ''
|
description = ''
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
{ lib, buildPythonPackage }
|
|
||||||
|
|
||||||
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";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://strawberry.rocks/";
|
|
||||||
license = "MIT";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue