mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
e88b01cc7c
* rmview: 3.1 -> 3.1.1 (#161125) * rmview: remove unnecessary double wrapping The wrapping is already done by wrapQtAppsHook in nativeBuildInputs Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
28 lines
790 B
Nix
28 lines
790 B
Nix
{ lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "rmview";
|
|
version = "3.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bordaigorl";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-lUzmOayMHftvCukXSxXr6tBzrr2vaua1ey9gsuCKOBc=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [ pyqt5 wrapQtAppsHook ];
|
|
propagatedBuildInputs = with python3Packages; [ pyqt5 paramiko twisted pyjwt pyopenssl service-identity ];
|
|
|
|
preBuild = ''
|
|
pyrcc5 -o src/rmview/resources.py resources.qrc
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Fast live viewer for reMarkable 1 and 2";
|
|
homepage = "https://github.com/bordaigorl/rmview";
|
|
license = licenses.gpl3Only;
|
|
maintainers = [ maintainers.nickhu ];
|
|
};
|
|
}
|