mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #282912 from phaer/healthchecks-update
healthchecks: 2.10 -> 3.3
This commit is contained in:
commit
0f3f375722
@ -213,8 +213,7 @@ in
|
|||||||
preStart = ''
|
preStart = ''
|
||||||
${pkg}/opt/healthchecks/manage.py collectstatic --no-input
|
${pkg}/opt/healthchecks/manage.py collectstatic --no-input
|
||||||
${pkg}/opt/healthchecks/manage.py remove_stale_contenttypes --no-input
|
${pkg}/opt/healthchecks/manage.py remove_stale_contenttypes --no-input
|
||||||
${pkg}/opt/healthchecks/manage.py compress
|
'' + lib.optionalString (cfg.settings.DEBUG != "True") "${pkg}/opt/healthchecks/manage.py compress";
|
||||||
'';
|
|
||||||
|
|
||||||
serviceConfig = commonConfig // {
|
serviceConfig = commonConfig // {
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
|
28
pkgs/development/python-modules/oncalendar/default.nix
Normal file
28
pkgs/development/python-modules/oncalendar/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "oncalendar";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cuu508";
|
||||||
|
repo = "oncalendar";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-eQYxOnL4/TJbY/nijcPl8TqK2MrwcdISKGfZQoI7828=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "oncalendar" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A systemd OnCalendar expression parser and evaluator";
|
||||||
|
homepage = "https://github.com/cuu508/oncalendar";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ phaer ];
|
||||||
|
};
|
||||||
|
}
|
@ -7,32 +7,35 @@
|
|||||||
let
|
let
|
||||||
py = python3.override {
|
py = python3.override {
|
||||||
packageOverrides = final: prev: {
|
packageOverrides = final: prev: {
|
||||||
django = prev.django_4;
|
django = prev.django_5;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
py.pkgs.buildPythonApplication rec {
|
py.pkgs.buildPythonApplication rec {
|
||||||
pname = "healthchecks";
|
pname = "healthchecks";
|
||||||
version = "2.10";
|
version = "3.3";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "healthchecks";
|
owner = "healthchecks";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-1x+pYMHaKgLFWcL1axOv/ok1ebs0I7Q+Q6htncmgJzU=";
|
sha256 = "sha256-XQ8nr9z9Yjwr1irExIgYiGX2knMXX701i6BwvXsVP+E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with py.pkgs; [
|
propagatedBuildInputs = with py.pkgs; [
|
||||||
|
aiosmtpd
|
||||||
apprise
|
apprise
|
||||||
cron-descriptor
|
|
||||||
cronsim
|
cronsim
|
||||||
django
|
django
|
||||||
django-compressor
|
django-compressor
|
||||||
|
django-stubs-ext
|
||||||
fido2
|
fido2
|
||||||
minio
|
minio
|
||||||
|
oncalendar
|
||||||
psycopg2
|
psycopg2
|
||||||
pycurl
|
pycurl
|
||||||
|
pydantic
|
||||||
pyotp
|
pyotp
|
||||||
segno
|
segno
|
||||||
statsd
|
statsd
|
||||||
|
@ -8965,6 +8965,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
omrdatasettools = callPackage ../development/python-modules/omrdatasettools { };
|
omrdatasettools = callPackage ../development/python-modules/omrdatasettools { };
|
||||||
|
|
||||||
|
oncalendar = callPackage ../development/python-modules/oncalendar { };
|
||||||
|
|
||||||
ondilo = callPackage ../development/python-modules/ondilo { };
|
ondilo = callPackage ../development/python-modules/ondilo { };
|
||||||
|
|
||||||
onetimepass = callPackage ../development/python-modules/onetimepass { };
|
onetimepass = callPackage ../development/python-modules/onetimepass { };
|
||||||
|
Loading…
Reference in New Issue
Block a user