Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 48 lines 969 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 poetry-core, 7 packaging, 8 hypothesis, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "rmscene"; 14 version = "0.6.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; 18 19 src = fetchFromGitHub { 20 owner = "ricklupton"; 21 repo = "rmscene"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-mgEjGfoQW73DcwMEXflR3/Ole4c5uXZJVJ699KNSqKg="; 24 }; 25 26 build-system = [ 27 poetry-core 28 ]; 29 30 pythonRelaxDeps = [ "packaging" ]; 31 32 dependencies = [ packaging ]; 33 34 pythonImportsCheck = [ "rmscene" ]; 35 36 nativeCheckInputs = [ 37 hypothesis 38 pytestCheckHook 39 ]; 40 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 }; 48}