diff --git a/pkgs/rmc.nix b/pkgs/rmc.nix index cda0f46..cec2086 100644 --- a/pkgs/rmc.nix +++ b/pkgs/rmc.nix @@ -2,6 +2,8 @@ lib, python3, fetchFromGitHub, + inkscape, + makeWrapper, }: python3.pkgs.buildPythonApplication rec { @@ -21,6 +23,7 @@ python3.pkgs.buildPythonApplication rec { ]; dependencies = with python3.pkgs; [ + makeWrapper click rmscene ]; @@ -29,6 +32,10 @@ python3.pkgs.buildPythonApplication rec { "rmc" ]; + postInstall = '' + wrapProgram $out/bin/rmc --prefix PATH : ${lib.makeBinPath [ inkscape ]} + ''; + meta = { description = "Convert to/from v6 .rm files from the reMarkable tablet"; homepage = "https://github.com/ricklupton/rmc";