nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 packaging,
7 hypothesis,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "rmscene";
13 version = "0.7.0";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "ricklupton";
18 repo = "rmscene";
19 tag = "v${version}";
20 hash = "sha256-LaUzWEptzCGir6ZOgyMfP3Uf+jERT+cTb7Wx/eean1I=";
21 };
22
23 build-system = [
24 poetry-core
25 ];
26
27 pythonRelaxDeps = [ "packaging" ];
28
29 dependencies = [ packaging ];
30
31 pythonImportsCheck = [ "rmscene" ];
32
33 nativeCheckInputs = [
34 hypothesis
35 pytestCheckHook
36 ];
37
38 meta = {
39 changelog = "https://github.com/ricklupton/rmscene/blob/${src.tag}/README.md#changelog";
40 description = "Read v6 .rm files from the reMarkable tablet";
41 homepage = "https://github.com/ricklupton/rmscene";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ dotlambda ];
44 };
45}