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