2022-09-30 11:47:45 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, configargparse, setuptools }:
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "rofi-rbw";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "1.0.1";
|
2022-05-18 14:49:53 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fdw";
|
|
|
|
repo = "rofi-rbw";
|
2022-06-26 10:26:21 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
hash = "sha256-YDL0pMl3BX59kzjuykn0lQHu2RMvPhsBrlSiqdcZAXs=";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|