depot/third_party/nixpkgs/pkgs/development/python-modules/rmrl/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

51 lines
896 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, pdfrw
, reportlab
, setuptools
, svglib
, xdg
}:
buildPythonPackage rec {
pname = "rmrl";
version = "unstable-2022-12-11";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "naturale0";
repo = "rmrl";
rev = "3c908536f11dfa92f81e7127ae76f18f0b2cc3e3";
hash = "sha256-13pMfRe2McWDpBTlJy/TBT0W5wyd0EXDoocxeIzmqCo=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pdfrw
reportlab
setuptools
svglib
xdg
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "rmrl" ];
meta = {
description = "Render reMarkable documents to PDF";
homepage = "https://github.com/naturale0/rmrl";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}