blob: a7eb4d2c632cee61d3877ac360d82fb772b56db6 (
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
|
{ lib
, buildPythonPackage
, pythonOlder
, pythonRelaxDepsHook
, fetchFromGitHub
, poetry-core
, packaging
, hypothesis
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "rmscene";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "ricklupton";
repo = "rmscene";
rev = "v${version}";
hash = "sha256-uIvoKdW7caOfc8OEGIcyDwyos9NLwtZ++CeZdUO/G8M=";
};
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"packaging"
];
propagatedBuildInputs = [
packaging
];
pythonImportsCheck = [ "rmscene" ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
meta = {
changelog = "https://github.com/ricklupton/rmscene/blob/${src.rev}/README.md#changelog";
description = "Read v6 .rm files from the reMarkable tablet";
homepage = "https://github.com/ricklupton/rmscene";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|