Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / rmrl / default.nix
blob3b93126aa73c992f0b8bc04be381447e232fb2bc
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , poetry-core
6 , pythonRelaxDepsHook
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     pythonRelaxDepsHook
33   ];
35   pythonRelaxDeps = [
36     "reportlab"
37     "rmscene"
38     "xdg"
39   ];
41   propagatedBuildInputs = [
42     pdfrw
43     reportlab
44     rmscene
45     setuptools
46     svglib
47     xdg
48   ];
50   # upstream has no tests
51   doCheck = false;
53   pythonImportsCheck = [ "rmrl" ];
55   meta = {
56     description = "Render reMarkable documents to PDF";
57     homepage = "https://github.com/benneti/rmrl";
58     license = lib.licenses.gpl3Plus;
59     maintainers = with lib.maintainers; [ dotlambda ];
60   };