blob: f07165c23c18d1f938a063800e90288f1bf334c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
poetry-core,
pythonRelaxDepsHook,
pdfrw,
reportlab,
rmscene,
setuptools,
svglib,
xdg,
}:
buildPythonPackage rec {
pname = "rmrl";
version = "0.2.1-unstable-2023-06-1";
disabled = pythonOlder "3.10";
pyproject = true;
src = fetchFromGitHub {
owner = "benneti";
repo = "rmrl";
rev = "e6f20322c80c6551174da1826c78261dfb3b74fe";
hash = "sha256-jGWYrw6kcNSb4zhyCjap3l8+YCdOkk5kb5UCiBgW8u0=";
};
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"reportlab"
"rmscene"
"xdg"
];
propagatedBuildInputs = [
pdfrw
reportlab
rmscene
setuptools
svglib
xdg
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "rmrl" ];
meta = {
description = "Render reMarkable documents to PDF";
homepage = "https://github.com/benneti/rmrl";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|