github-backup: run versionCheckHook
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
python3Packages,
|
python3Packages,
|
||||||
|
cacert,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
git,
|
git,
|
||||||
git-lfs,
|
git-lfs,
|
||||||
|
versionCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
@@ -32,8 +34,13 @@ python3Packages.buildPythonApplication rec {
|
|||||||
])
|
])
|
||||||
];
|
];
|
||||||
|
|
||||||
# has no unit tests
|
nativeInstallCheckInputs = [
|
||||||
doCheck = false;
|
versionCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
|
|
||||||
|
versionCheckKeepEnvironment = [ "SSL_CERT_FILE" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Backup a github user or organization";
|
description = "Backup a github user or organization";
|
||||||
|
|||||||
Reference in New Issue
Block a user