@@ -1,33 +1,29 @@
1−{ pkgs
2−, buildPythonPackage
3−, fetchPypi
1+{ lib, buildPythonPackage, fetchPypi
2+, cryptography
43, invoke
4+, mock
55, paramiko
6−, cryptography
76, pytest
8−, mock
97, pytest-relaxed
108}:
119
1210buildPythonPackage rec {
1311 pname = "fabric";
14− version = "2.4.0";
12+ version = "2.5.0";
1513
1614 src = fetchPypi {
1715 inherit pname version;
18− sha256 = "93684ceaac92e0b78faae551297e29c48370cede12ff0f853cdebf67d4b87068";
16+ sha256 = "19nzdibjfndzcwvby20p59igqwyzw7skrb45v2mxqsjma5yjv114";
1917 };
2018
2119 propagatedBuildInputs = [ invoke paramiko cryptography ];
2220 checkInputs = [ pytest mock pytest-relaxed ];
2321
24− # ignore subprocess main errors (1) due to hardcoded /bin/bash
2522 checkPhase = ''
26− rm tests/main.py
2723 pytest tests
2824 '';
2925
30− meta = with pkgs.lib; {
26+ meta = with lib; {
3127 description = "Pythonic remote execution";
3228 homepage = https://www.fabfile.org/;
3329 license = licenses.bsd2;