fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
861 B
Nix
37 lines
861 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
paramiko,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "spur";
|
|
version = "0.3.23";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mwilliamson";
|
|
repo = "spur.py";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-LTkZ1p2P9fsD+gZEQZaCS68Q6nGc4qFGMNtH75gQmXQ=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/mwilliamson/spur.py/blob/0.3.23/CHANGES";
|
|
license = with licenses; [ bsd2 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|