croc: 10.1.1 -> 10.1.3 (#364662)
[NixPkgs.git] / pkgs / development / python-modules / rmrl / default.nix
blob0dc783881414e0dbe7d2c9490abef2c109291f27
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   pdfrw,
8   reportlab,
9   rmscene,
10   setuptools,
11   svglib,
12   xdg,
15 buildPythonPackage rec {
16   pname = "rmrl";
17   version = "0.2.1-unstable-2023-06-1";
19   disabled = pythonOlder "3.10";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "benneti";
25     repo = "rmrl";
26     rev = "e6f20322c80c6551174da1826c78261dfb3b74fe";
27     hash = "sha256-jGWYrw6kcNSb4zhyCjap3l8+YCdOkk5kb5UCiBgW8u0=";
28   };
30   nativeBuildInputs = [
31     poetry-core
32   ];
34   pythonRelaxDeps = [
35     "reportlab"
36     "rmscene"
37     "xdg"
38   ];
40   propagatedBuildInputs = [
41     pdfrw
42     reportlab
43     rmscene
44     setuptools
45     svglib
46     xdg
47   ];
49   # upstream has no tests
50   doCheck = false;
52   pythonImportsCheck = [ "rmrl" ];
54   meta = {
55     description = "Render reMarkable documents to PDF";
56     homepage = "https://github.com/benneti/rmrl";
57     license = lib.licenses.gpl3Plus;
58     maintainers = with lib.maintainers; [ dotlambda ];
59   };