python311Packages.rmscene: init at 0.5.0

This commit is contained in:
Robert Schütz
2024-01-23 21:03:45 -08:00
parent 612f97239e
commit 9554b11fe9
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, pythonOlder
, 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
];
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 ];
};
}

View File

@@ -12682,6 +12682,8 @@ self: super: with self; {
rmrl = callPackage ../development/python-modules/rmrl { };
rmscene = callPackage ../development/python-modules/rmscene { };
rmsd = callPackage ../development/python-modules/rmsd { };
rnc2rng = callPackage ../development/python-modules/rnc2rng { };