fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
50 lines
1,020 B
Nix
50 lines
1,020 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|