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