blob: b5c04d0bae8935776e234ae34f62f00a0aa71054 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, loguru
, poetry-core
, pythonOlder
, pythonRelaxDepsHook
, setuptools
}:
buildPythonPackage rec {
pname = "mobi";
version = "0.3.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iscc";
repo = "mobi";
rev = "refs/tags/v${version}";
hash = "sha256-g1L72MkJdrKQRsEdew+Qsn8LfCn8+cmj2pmY6s4nv2U=";
};
pythonRelaxDeps = [
"loguru"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
loguru
];
pythonImportsCheck = [
"mobi"
];
meta = with lib; {
description = "Library for unpacking unencrypted mobi files";
mainProgram = "mobiunpack";
homepage = "https://github.com/iscc/mobi";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
};
}
|