summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-07-18 20:18:06 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-07-19 13:30:59 +0200
commitc574e375890f705a4f6d1fdc36e815594065565f (patch)
tree140c66a8cfbd441a9921e03737980ede73a9a4e1
parent4a716c50feec750263bee793ceb571be536dff19 (diff)
downloadnixpkgs-c574e375890f705a4f6d1fdc36e815594065565f.tar
nixpkgs-c574e375890f705a4f6d1fdc36e815594065565f.tar.gz
nixpkgs-c574e375890f705a4f6d1fdc36e815594065565f.tar.bz2
nixpkgs-c574e375890f705a4f6d1fdc36e815594065565f.tar.lz
nixpkgs-c574e375890f705a4f6d1fdc36e815594065565f.tar.xz
nixpkgs-c574e375890f705a4f6d1fdc36e815594065565f.tar.zst
nixpkgs-c574e375890f705a4f6d1fdc36e815594065565f.zip
duplicity: add empty meta.maintainers, remove default meta.platforms, other cleanup
-rw-r--r--pkgs/tools/backup/duplicity/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/tools/backup/duplicity/default.nix b/pkgs/tools/backup/duplicity/default.nix
index 216d4dc7da6..15b8a33de67 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; [ ];
   };
 }