iceshelf: use spaces for indentation

This commit is contained in:
zowoq 2021-01-20 09:25:12 +10:00
parent 69f968e735
commit e75795a548

View File

@ -6,11 +6,11 @@ python3.pkgs.buildPythonApplication rec {
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mrworf"; owner = "mrworf";
repo = pname; repo = pname;
rev = "26768dde3fc54fa412e523eb8f8552e866b4853b"; rev = "26768dde3fc54fa412e523eb8f8552e866b4853b";
sha256 = "08rcbd14vn7312rmk2hyvdzvhibri31c4r5lzdrwb1n1y9q761qm"; sha256 = "08rcbd14vn7312rmk2hyvdzvhibri31c4r5lzdrwb1n1y9q761qm";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -19,12 +19,12 @@ python3.pkgs.buildPythonApplication rec {
python3.pkgs.python-gnupg python3.pkgs.python-gnupg
]; ];
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/share/doc/${pname} $out/${python3.sitePackages} mkdir -p $out/bin $out/share/doc/${pname} $out/${python3.sitePackages}
cp -v iceshelf iceshelf-restore $out/bin cp -v iceshelf iceshelf-restore $out/bin
cp -v iceshelf.sample.conf $out/share/doc/${pname}/ cp -v iceshelf.sample.conf $out/share/doc/${pname}/
cp -rv modules $out/${python3.sitePackages} cp -rv modules $out/${python3.sitePackages}
''; '';
meta = with lib; { meta = with lib; {
description = "A simple tool to allow storage of signed, encrypted, incremental backups using Amazon's Glacier storage"; description = "A simple tool to allow storage of signed, encrypted, incremental backups using Amazon's Glacier storage";