2023-02-02 18:25:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
2024-06-05 15:53:02 +00:00
|
|
|
, python3Packages
|
2023-02-02 18:25:31 +00:00
|
|
|
, fetchPypi
|
|
|
|
, pynput
|
2024-06-05 15:53:02 +00:00
|
|
|
, xdg-base-dirs
|
2023-02-02 18:25:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "bitwarden-menu";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.4.3";
|
|
|
|
pyproject = true;
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-06-05 15:53:02 +00:00
|
|
|
pname = "bitwarden_menu";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-tuIolWvQ/vKSJr6oUTL7ZLPgdkYsIZods5yQNNfWbWY=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
hatch-vcs
|
|
|
|
hatchling
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pynput
|
2024-06-05 15:53:02 +00:00
|
|
|
xdg-base-dirs
|
2023-02-02 18:25:31 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
changelog = "https://github.com/firecat53/bitwarden-menu/releases/tag/v${version}";
|
|
|
|
description = "Dmenu/Rofi frontend for managing Bitwarden vaults. Uses the Bitwarden CLI tool to interact with the Bitwarden database.";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "bwm";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://github.com/firecat53/bitwarden-menu";
|
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [ aman9das ];
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
}
|