diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-08 00:09:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 00:09:21 +0200 |
commit | d824744618e8d415b0dea288cbfdddfa0ee12266 (patch) | |
tree | ac63c598902f68fe84784aa774cbfb8f4b0cb99c /pkgs/tools/backup | |
parent | adb074b88d2fab821080bd18cf6129cbf3535741 (diff) | |
parent | 99c6837a65d2fd240092dbddb019d1731da983dc (diff) | |
download | nixlib-d824744618e8d415b0dea288cbfdddfa0ee12266.tar nixlib-d824744618e8d415b0dea288cbfdddfa0ee12266.tar.gz nixlib-d824744618e8d415b0dea288cbfdddfa0ee12266.tar.bz2 nixlib-d824744618e8d415b0dea288cbfdddfa0ee12266.tar.lz nixlib-d824744618e8d415b0dea288cbfdddfa0ee12266.tar.xz nixlib-d824744618e8d415b0dea288cbfdddfa0ee12266.tar.zst nixlib-d824744618e8d415b0dea288cbfdddfa0ee12266.zip |
Merge pull request #244201 from SuperSandro2000/python-cleanup
duplicity: add empty meta.maintainers, cc2538-bsl: remove unused rec
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r-- | pkgs/tools/backup/duplicity/default.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/tools/backup/duplicity/default.nix b/pkgs/tools/backup/duplicity/default.nix index 216d4dc7da6a..15b8a33de675 100644 --- a/pkgs/tools/backup/duplicity/default.nix +++ b/pkgs/tools/backup/duplicity/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv +{ lib +, stdenv , fetchFromGitLab , python3 , librsync @@ -11,10 +12,8 @@ , makeWrapper , gettext }: -let - pythonPackages = python3.pkgs; -in -pythonPackages.buildPythonApplication rec { + +python3.pkgs.buildPythonApplication rec { pname = "duplicity"; version = "0.8.23"; @@ -51,14 +50,15 @@ pythonPackages.buildPythonApplication rec { nativeBuildInputs = [ makeWrapper gettext - pythonPackages.wrapPython - pythonPackages.setuptools-scm + python3.pkgs.wrapPython + python3.pkgs.setuptools-scm ]; + buildInputs = [ librsync ]; - pythonPath = with pythonPackages; [ + pythonPath = with python3.pkgs; [ b2sdk boto3 cffi @@ -82,7 +82,7 @@ pythonPackages.buildPythonApplication rec { par2cmdline # Add 'par2' to PATH. ] ++ lib.optionals stdenv.isLinux [ util-linux # Add 'setsid' to PATH. - ] ++ (with pythonPackages; [ + ] ++ (with python3.pkgs; [ lockfile mock pexpect @@ -127,6 +127,6 @@ pythonPackages.buildPythonApplication rec { description = "Encrypted bandwidth-efficient backup using the rsync algorithm"; homepage = "https://duplicity.gitlab.io/duplicity-web/"; license = licenses.gpl2Plus; - platforms = platforms.unix; + maintainers = with maintainers; [ ]; }; } |