python3Packages.show-in-file-manager: init at 1.1.4

(cherry picked from commit b8a35e8f8b)
This commit is contained in:
Dan Callahan
2022-12-21 22:28:41 +00:00
committed by github-actions[bot]
parent ef24b2fa0c
commit de59e349b6
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
, packaging
, pyxdg
}:
buildPythonPackage rec {
pname = "show-in-file-manager";
version = "1.1.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-FdFuSodbniF7A40C8CnDgAxKatZF4/c8nhB+omurOts=";
};
propagatedBuildInputs = [
packaging
]
++ lib.optional (stdenv.isLinux) pyxdg
++ lib.optional (pythonOlder "3.8") importlib-metadata;
meta = with lib; {
homepage = "https://github.com/damonlynch/showinfilemanager";
description = "Open the system file manager and select files in it";
longDescription = ''
Show in File Manager is a Python package to open the system file
manager and optionally select files in it. The point is not to
open the files, but to select them in the file manager, thereby
highlighting the files and allowing the user to quickly do
something with them.
'';
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}

View File

@@ -10241,6 +10241,8 @@ self: super: with self; {
should-dsl = callPackage ../development/python-modules/should-dsl { };
show-in-file-manager = callPackage ../development/python-modules/show-in-file-manager { };
showit = callPackage ../development/python-modules/showit { };
shtab = callPackage ../development/python-modules/shtab { };