forked from fediversity/fediversity
Compare commits
No commits in common. "274486795af676e605cc2234478a5681c1f535b9" and "9d7a696ffedd8e6e02e4dbe9fa7731b79700e0f7" have entirely different histories.
274486795a
...
9d7a696ffe
2 changed files with 5 additions and 26 deletions
|
|
@ -261,17 +261,10 @@ in
|
||||||
description = "Collection of deployment resources that can be required by applications and policed by hosting providers";
|
description = "Collection of deployment resources that can be required by applications and policed by hosting providers";
|
||||||
type = attrsOf (
|
type = attrsOf (
|
||||||
submodule (
|
submodule (
|
||||||
resource:
|
{ ... }:
|
||||||
{
|
{
|
||||||
_class = "fediversity-resource";
|
_class = "fediversity-resource";
|
||||||
options = {
|
options = {
|
||||||
name = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
description = "name of the resource";
|
|
||||||
readOnly = true;
|
|
||||||
default = resource.config._module.args.name;
|
|
||||||
defaultText = "name of the resource";
|
|
||||||
};
|
|
||||||
description = mkOption {
|
description = mkOption {
|
||||||
description = "Description of the resource to help application module authors and hosting providers to work with it";
|
description = "Description of the resource to help application module authors and hosting providers to work with it";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
@ -311,13 +304,6 @@ in
|
||||||
submodule (application: {
|
submodule (application: {
|
||||||
_class = "fediversity-application";
|
_class = "fediversity-application";
|
||||||
options = {
|
options = {
|
||||||
name = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
description = "name of the application";
|
|
||||||
readOnly = true;
|
|
||||||
default = application.config._module.args.name;
|
|
||||||
defaultText = "name of the application";
|
|
||||||
};
|
|
||||||
description = mkOption {
|
description = mkOption {
|
||||||
description = "Description to be shown in the application overview";
|
description = "Description to be shown in the application overview";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
@ -357,13 +343,6 @@ in
|
||||||
submodule (environment: {
|
submodule (environment: {
|
||||||
_class = "fediversity-environment";
|
_class = "fediversity-environment";
|
||||||
options = {
|
options = {
|
||||||
name = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
description = "name of the environment";
|
|
||||||
readOnly = true;
|
|
||||||
default = environment.config._module.args.name;
|
|
||||||
defaultText = "name of the environment";
|
|
||||||
};
|
|
||||||
resources = mkOption {
|
resources = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
Resources made available by the hosting provider, and their policies.
|
Resources made available by the hosting provider, and their policies.
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,14 @@ buildPythonPackage rec {
|
||||||
_class = "package";
|
_class = "package";
|
||||||
|
|
||||||
pname = "drf-pydantic";
|
pname = "drf-pydantic";
|
||||||
version = "v2.9.0";
|
version = "v2.7.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "KiaraGrouwstra";
|
owner = "georgebv";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "d21c879543bd106242bd7f86e79da1f668109579";
|
rev = version;
|
||||||
hash = "sha256-pk0/6BphIiXxR3cewBJ5nKii3kj3lDHLO9U9xqXDxI8=";
|
hash = "sha256-ABtSoxj/+HHq4hj4Yb6bEiyOl00TCO/9tvBzhv6afxM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue