Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Revert "duply: add pythonPackages.cryptography"

This reverts commit 400d1d5c89741c2d6e94aa5c60b13f03fdc53e1c.

Didn't fix https://github.com/NixOS/nixpkgs/issues/18112

+3 -5
+3 -5
pkgs/tools/backup/duply/default.nix
··· 2 , gnugrep, txt2man, makeWrapper, which 3 }: 4 5 - let 6 - pythonEnv = python.withPackages (ps: [ps.cryptography] ); 7 - in stdenv.mkDerivation { 8 name = "duply-1.9.2"; 9 10 src = fetchurl { ··· 13 }; 14 15 buildInputs = [ txt2man makeWrapper ]; 16 - propagatedBuildInputs = [ pythonEnv ]; 17 phases = [ "unpackPhase" "installPhase" ]; 18 19 installPhase = '' ··· 22 sed -i 's|/usr/bin/env bash|${bash}/bin/bash|' duply 23 mv duply "$out/bin" 24 wrapProgram "$out/bin/duply" --set PATH \ 25 - "${coreutils}/bin:${pythonEnv}/bin:${duplicity}/bin:${gawk}/bin:${gnupg1}/bin:${bash}/bin:${gnugrep}/bin:${txt2man}/bin:${which}/bin" 26 "$out/bin/duply" txt2man | gzip -c > "$out/share/man/man1/duply.1.gz" 27 ''; 28
··· 2 , gnugrep, txt2man, makeWrapper, which 3 }: 4 5 + stdenv.mkDerivation { 6 name = "duply-1.9.2"; 7 8 src = fetchurl { ··· 11 }; 12 13 buildInputs = [ txt2man makeWrapper ]; 14 + 15 phases = [ "unpackPhase" "installPhase" ]; 16 17 installPhase = '' ··· 20 sed -i 's|/usr/bin/env bash|${bash}/bin/bash|' duply 21 mv duply "$out/bin" 22 wrapProgram "$out/bin/duply" --set PATH \ 23 + "${coreutils}/bin:${python}/bin:${duplicity}/bin:${gawk}/bin:${gnupg1}/bin:${bash}/bin:${gnugrep}/bin:${txt2man}/bin:${which}/bin" 24 "$out/bin/duply" txt2man | gzip -c > "$out/share/man/man1/duply.1.gz" 25 ''; 26