Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / rmscene / default.nix
bloba7eb4d2c632cee61d3877ac360d82fb772b56db6
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , pythonRelaxDepsHook
5 , fetchFromGitHub
6 , poetry-core
7 , packaging
8 , hypothesis
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "rmscene";
14   version = "0.5.0";
15   pyproject = true;
17   disabled = pythonOlder "3.10";
19   src = fetchFromGitHub {
20     owner = "ricklupton";
21     repo = "rmscene";
22     rev = "v${version}";
23     hash = "sha256-uIvoKdW7caOfc8OEGIcyDwyos9NLwtZ++CeZdUO/G8M=";
24   };
26   nativeBuildInputs = [
27     poetry-core
28     pythonRelaxDepsHook
29   ];
31   pythonRelaxDeps = [
32     "packaging"
33   ];
35   propagatedBuildInputs = [
36     packaging
37   ];
39   pythonImportsCheck = [ "rmscene" ];
41   nativeCheckInputs = [
42     hypothesis
43     pytestCheckHook
44   ];
46   meta = {
47     changelog = "https://github.com/ricklupton/rmscene/blob/${src.rev}/README.md#changelog";
48     description = "Read v6 .rm files from the reMarkable tablet";
49     homepage = "https://github.com/ricklupton/rmscene";
50     license = lib.licenses.mit;
51     maintainers = with lib.maintainers; [ dotlambda ];
52   };