figsoda 2023-06-21 16:04:49 -04:00
parent 4285acb8c7
commit 8200b973b5

View file

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "browsr";
version = "1.10.7";
version = "1.11.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "juftin";
repo = "browsr";
rev = "v${version}";
hash = "sha256-AT5cFQ4CldlHv3MQYAGXdZVB3bNAAvbJeosdxZjcPBM=";
hash = "sha256-LhrMQFkvdkYra/6jQtMAooGy76qLYldHoxEGMPhde7Q=";
};
nativeBuildInputs = with python3.pkgs; [
@ -25,7 +25,6 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [
art
click
fsspec
pandas
pillow
pymupdf
@ -33,35 +32,24 @@ python3.pkgs.buildPythonApplication rec {
rich-click
rich-pixels
textual
universal-pathlib
textual-universal-directorytree
] ++ lib.attrVals extras passthru.optional-dependencies;
passthru.optional-dependencies = with python3.pkgs; {
all = [
adlfs
aiohttp
gcsfs
paramiko
pyarrow
requests
s3fs
textual-universal-directorytree.optional-dependencies.remote
];
parquet = [
pyarrow
];
remote = [
adlfs
aiohttp
gcsfs
paramiko
requests
s3fs
textual-universal-directorytree.optional-dependencies.remote
];
};
pythonRelaxDeps = [
"art"
"fsspec"
"pymupdf"
"rich-click"
"textual"
@ -78,8 +66,8 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "A file explorer in your terminal";
homepage = "https://github.com/juftin/browsr";
changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/${src.rev}";
homepage = "https://juftin.com/browsr";
changelog = "https://github.com/juftin/browsr/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};