nixpkgs/pkgs/applications/misc/rofi-rbw/default.nix
2022-09-19 16:06:11 +02:00

31 lines
718 B
Nix

{ lib, buildPythonApplication, fetchFromGitHub, configargparse, setuptools }:
buildPythonApplication rec {
pname = "rofi-rbw";
version = "1.0.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "fdw";
repo = "rofi-rbw";
rev = "refs/tags/${version}";
hash = "sha256-YDL0pMl3BX59kzjuykn0lQHu2RMvPhsBrlSiqdcZAXs=";
};
nativeBuildInputs = [
setuptools
];
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;
};
}