depot/third_party/nixpkgs/pkgs/development/python-modules/spur/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

39 lines
775 B
Nix

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