mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
41 lines
860 B
Nix
41 lines
860 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
rich,
|
|
rclone,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rclone-python";
|
|
version = "0.1.21";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Johannes11833";
|
|
repo = "rclone_python";
|
|
tag = "v${version}";
|
|
hash = "sha256-lYrPSDBWGVQmT2/MgzbtZ6hHNZXINCmmFP+ZHFZQDw8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
rclone
|
|
rich
|
|
];
|
|
|
|
# tests require working internet connection
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "rclone_python" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/Johannes11833/rclone_python/releases/tag/${src.tag}";
|
|
description = "Python wrapper for rclone";
|
|
homepage = "https://github.com/Johannes11833/rclone_python";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ CaptainJawZ ];
|
|
};
|
|
}
|