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; [ ]; }; } diff --git a/pkgs/tools/misc/cc2538-bsl/default.nix b/pkgs/tools/misc/cc2538-bsl/default.nix index b09aaa9c3b3..16c858fc581 100644 --- a/pkgs/tools/misc/cc2538-bsl/default.nix +++ b/pkgs/tools/misc/cc2538-bsl/default.nix @@ -5,7 +5,7 @@ python3Packages.buildPythonPackage rec { version = "unstable-2022-08-03"; format = "setuptools"; - src = fetchFromGitHub rec { + src = fetchFromGitHub { owner = "JelmerT"; repo = pname; rev = "538ea0deb99530e28fdf1b454e9c9d79d85a3970";