mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
bf995e3641
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
41 lines
916 B
Nix
41 lines
916 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, python3Packages
|
|
, fetchPypi
|
|
, pynput
|
|
, xdg-base-dirs
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "bitwarden-menu";
|
|
version = "0.4.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "bitwarden_menu";
|
|
inherit version;
|
|
hash = "sha256-tuIolWvQ/vKSJr6oUTL7ZLPgdkYsIZods5yQNNfWbWY=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
hatch-vcs
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pynput
|
|
xdg-base-dirs
|
|
];
|
|
|
|
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";
|
|
homepage = "https://github.com/firecat53/bitwarden-menu";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ aman9das ];
|
|
};
|
|
}
|