summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/spur/default.nix
blob: e16316e3f495e80d2729ee9701ca9cddb69f3594 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  paramiko,
}:

buildPythonPackage rec {
  pname = "spur";
  version = "0.3.23";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "mwilliamson";
    repo = "spur.py";
    tag = version;
    hash = "sha256-LTkZ1p2P9fsD+gZEQZaCS68Q6nGc4qFGMNtH75gQmXQ=";
  };

  propagatedBuildInputs = [ paramiko ];

  # Tests require a running SSH server
  doCheck = false;

  pythonImportsCheck = [ "spur" ];

  meta = {
    description = "Python module to run commands and manipulate files locally or over SSH";
    homepage = "https://github.com/mwilliamson/spur.py";
    changelog = "https://github.com/mwilliamson/spur.py/blob/0.3.23/CHANGES";
    license = with lib.licenses; [ bsd2 ];
    maintainers = with lib.maintainers; [ fab ];
  };
}