nixpkgs/pkgs/applications/misc/bitwarden-menu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
916 B
Nix
Raw Normal View History

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