depot/third_party/nixpkgs/pkgs/applications/misc/rofi-rbw/default.nix
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

31 lines
756 B
Nix

{ lib, buildPythonApplication, fetchFromGitHub, configargparse, setuptools, poetry-core }:
buildPythonApplication rec {
pname = "rofi-rbw";
version = "1.1.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "fdw";
repo = "rofi-rbw";
rev = "refs/tags/${version}";
hash = "sha256-5K6tofC1bIxxNOQ0jk6NbVoaGGyQImYiUZAaAmkwiTA=";
};
nativeBuildInputs = [
setuptools
poetry-core
];
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; [ equirosa dit7ya ];
platforms = platforms.linux;
};
}