nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 textual, 7 universal-pathlib, 8 adlfs, 9 aiohttp, 10 gcsfs, 11 paramiko, 12 requests, 13 s3fs, 14}: 15 16buildPythonPackage rec { 17 pname = "textual-universal-directorytree"; 18 version = "1.7.0"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "juftin"; 23 repo = "textual-universal-directorytree"; 24 tag = "v${version}"; 25 hash = "sha256-e9i6P+KQnGbFwCsNiu2eLJFg3fpcR2/vl/FVWOBqWUQ="; 26 }; 27 28 nativeBuildInputs = [ hatchling ]; 29 30 propagatedBuildInputs = [ 31 textual 32 universal-pathlib 33 ]; 34 35 optional-dependencies = { 36 remote = [ 37 adlfs 38 aiohttp 39 gcsfs 40 paramiko 41 requests 42 s3fs 43 ]; 44 }; 45 46 pythonImportsCheck = [ "textual_universal_directorytree" ]; 47 48 meta = { 49 description = "Textual plugin for a DirectoryTree compatible with remote filesystems"; 50 homepage = "https://github.com/juftin/textual-universal-directorytree"; 51 changelog = "https://github.com/juftin/textual-universal-directorytree/releases/tag/v${version}"; 52 license = lib.licenses.mit; 53 maintainers = [ ]; 54 }; 55}