nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonApplication,
4 fetchPypi,
5 hatch-vcs,
6 hatchling,
7 pynput,
8 xdg-base-dirs,
9}:
10
11buildPythonApplication rec {
12 pname = "bitwarden-menu";
13 version = "0.4.5";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "bitwarden_menu";
18 inherit version;
19 hash = "sha256-vUlNqSVdGhfN5WjDjf1ub32Y2WoBndIdFzfCNwo5+Vg=";
20 };
21
22 nativeBuildInputs = [
23 hatch-vcs
24 hatchling
25 ];
26
27 propagatedBuildInputs = [
28 pynput
29 xdg-base-dirs
30 ];
31
32 doCheck = false;
33
34 meta = {
35 changelog = "https://github.com/firecat53/bitwarden-menu/releases/tag/v${version}";
36 description = "Dmenu/Rofi frontend for managing Bitwarden vaults. Uses the Bitwarden CLI tool to interact with the Bitwarden database";
37 mainProgram = "bwm";
38 homepage = "https://github.com/firecat53/bitwarden-menu";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ aman9das ];
41 };
42}