From e1309bdbd4a6cff21a21782c29f9eea6b47145b1 Mon Sep 17 00:00:00 2001 From: Mostly Void Date: Mon, 9 May 2022 05:23:13 +0530 Subject: [PATCH] rofi-rbw : init at 0.5.0 (#171160) Co-authored-by: P. Co-authored-by: Sandro --- pkgs/applications/misc/rofi-rbw/default.nix | 26 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/rofi-rbw/default.nix diff --git a/pkgs/applications/misc/rofi-rbw/default.nix b/pkgs/applications/misc/rofi-rbw/default.nix new file mode 100644 index 000000000000..6a631d5a9508 --- /dev/null +++ b/pkgs/applications/misc/rofi-rbw/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonApplication, fetchFromGitHub, configargparse }: + +buildPythonApplication rec { + pname = "rofi-rbw"; + version = "0.5.0"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "fdw"; + repo = "rofi-rbw"; + rev = version; + hash = "sha256-1RDwb8lKls6+X/XtARbi4F7sK4nT03Iy3Wb9N1LEa5o="; + }; + + propagatedBuildInputs = [ configargparse ]; + + pythonImportsCheck = [ "rofi_rbw" ]; + + meta = with lib; { + description = "Rofi frontend for Bitwarden"; + homepage = "https://github.com/fdw/rofi-rbw"; + license = licenses.mit; + maintainers = with maintainers; [ dit7ya ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 08631932fa52..3614e65d4f1d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28225,6 +28225,8 @@ with pkgs; rofi-pulse-select = callPackage ../applications/audio/rofi-pulse-select { }; + rofi-rbw = python3Packages.callPackage ../applications/misc/rofi-rbw { }; + rofi-vpn = callPackage ../applications/networking/rofi-vpn { }; ympd = callPackage ../applications/audio/ympd { };