2022-09-19 04:13:16 +02:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, configargparse, setuptools }:
|
2022-05-09 01:53:13 +02:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "rofi-rbw";
|
2022-07-03 12:59:20 +02:00
|
|
|
version = "1.0.1";
|
2022-05-09 01:53:13 +02:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fdw";
|
|
|
|
repo = "rofi-rbw";
|
2022-06-19 20:56:02 +02:00
|
|
|
rev = "refs/tags/${version}";
|
2022-07-03 12:59:20 +02:00
|
|
|
hash = "sha256-YDL0pMl3BX59kzjuykn0lQHu2RMvPhsBrlSiqdcZAXs=";
|
2022-05-09 01:53:13 +02:00
|
|
|
};
|
|
|
|
|
2022-09-19 04:13:16 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-05-09 01:53:13 +02: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;
|
|
|
|
};
|
|
|
|
}
|