at 23.05-pre 775 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, paramiko 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "spur"; 10 version = "0.3.22"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.4"; 14 15 src = fetchFromGitHub { 16 owner = "mwilliamson"; 17 repo = "spur.py"; 18 rev = version; 19 sha256 = "sha256-YlwezAE7V4ykFsp+bJ2nYRp6HG4I9Bk7Lhq6f1Inn0s="; 20 }; 21 22 propagatedBuildInputs = [ 23 paramiko 24 ]; 25 26 # Tests require a running SSH server 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "spur" 31 ]; 32 33 meta = with lib; { 34 description = "Python module to run commands and manipulate files locally or over SSH"; 35 homepage = "https://github.com/mwilliamson/spur.py"; 36 license = with licenses; [ bsd2 ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}