2023-01-20 01:12:10 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
2024-05-30 06:32:02 +00:00
|
|
|
, python3Packages
|
2023-01-20 01:12:10 +00:00
|
|
|
, fetchPypi
|
|
|
|
, pynput
|
2024-05-30 06:32:02 +00:00
|
|
|
, xdg-base-dirs
|
2023-01-20 01:12:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "bitwarden-menu";
|
2024-05-30 06:32:02 +00:00
|
|
|
version = "0.4.3";
|
2024-06-03 14:30:12 +00:00
|
|
|
pyproject = true;
|
2023-01-20 01:12:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-05-30 06:32:02 +00:00
|
|
|
pname = "bitwarden_menu";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-tuIolWvQ/vKSJr6oUTL7ZLPgdkYsIZods5yQNNfWbWY=";
|
2023-01-20 01:12:10 +00:00
|
|
|
};
|
|
|
|
|
2024-05-30 06:32:02 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
hatch-vcs
|
|
|
|
hatchling
|
|
|
|
];
|
|
|
|
|
2023-01-20 01:12:10 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pynput
|
2024-05-30 06:32:02 +00:00
|
|
|
xdg-base-dirs
|
2023-01-20 01:12:10 +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-03-19 02:14:51 +00:00
|
|
|
mainProgram = "bwm";
|
2023-01-20 01:12:10 +00:00
|
|
|
homepage = "https://github.com/firecat53/bitwarden-menu";
|
|
|
|
license = licenses.mit;
|
2024-05-30 06:32:02 +00:00
|
|
|
maintainers = with maintainers; [ aman9das ];
|
2023-01-20 01:12:10 +00:00
|
|
|
};
|
|
|
|
}
|