linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / development / python-modules / rmscene / default.nix
blobf7c780f5238abd04d729685471766b05c90367cd
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   packaging,
8   hypothesis,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "rmscene";
14   version = "0.6.0";
15   pyproject = true;
17   disabled = pythonOlder "3.10";
19   src = fetchFromGitHub {
20     owner = "ricklupton";
21     repo = "rmscene";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-BnTr3rLehP5uhzXWXKPaXcJCWW2ofk5N8amqoEUmlWo=";
24   };
26   build-system = [
27     poetry-core
28   ];
30   pythonRelaxDeps = [ "packaging" ];
32   dependencies = [ packaging ];
34   pythonImportsCheck = [ "rmscene" ];
36   nativeCheckInputs = [
37     hypothesis
38     pytestCheckHook
39   ];
41   meta = {
42     changelog = "https://github.com/ricklupton/rmscene/blob/${src.rev}/README.md#changelog";
43     description = "Read v6 .rm files from the reMarkable tablet";
44     homepage = "https://github.com/ricklupton/rmscene";
45     license = lib.licenses.mit;
46     maintainers = with lib.maintainers; [ dotlambda ];
47   };