pkgs: Add inkscape to rmc

This commit is contained in:
Quentin Boyer 2024-12-22 11:28:59 +01:00
parent 25ad55c3d3
commit 91cbff5a62

View file

@ -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";