nixpkgs/pkgs/development/python-modules/sshfs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
973 B
Nix
Raw Normal View History

{ lib
, asyncssh
, bcrypt
, buildPythonPackage
2023-03-14 09:15:17 +00:00
, fetchFromGitHub
, fsspec
2023-03-14 09:15:17 +00:00
, mock-ssh-server
, pytest-asyncio
, pytestCheckHook
, setuptools-scm
}:
buildPythonPackage rec {
pname = "sshfs";
version = "2023.4.1";
2023-03-14 09:15:17 +00:00
src = fetchFromGitHub {
owner = "fsspec";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-qoOqKXtmavKgfbg6bBEeZb+n1RVyZSxqhKIQsToxDUU=";
};
2023-03-14 09:15:17 +00:00
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
asyncssh
bcrypt
fsspec
];
2023-03-14 09:15:17 +00:00
nativeCheckInputs = [
mock-ssh-server
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"sshfs"
];
meta = with lib; {
description = "SSH/SFTP implementation for fsspec";
homepage = "https://github.com/fsspec/sshfs/";
changelog = "https://github.com/fsspec/sshfs/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ melling ];
};
}