My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/spur/default.nix

39 lines
775 B

{ 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 ];
};
}