blob: 63ea0b4d06d20a0bd6b776765efd7cdebdbfc715 (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, six
}:
buildPythonPackage rec {
pname = "ebooklib";
version = "0.18";
format = "setuptools";
src = fetchFromGitHub {
owner = "aerkalov";
repo = "ebooklib";
rev = "v${version}";
hash = "sha256-Ciks/eeRpkqkWnyLgyHC+x/dSOcj/ZT45KUElKqv1F8=";
};
propagatedBuildInputs = [
lxml
six
];
pythonImportsCheck = [ "ebooklib" ];
meta = with lib; {
description = "Python E-book library for handling books in EPUB2/EPUB3 format";
homepage = "https://github.com/aerkalov/ebooklib";
changelog = "https://github.com/aerkalov/ebooklib/blob/${src.rev}/CHANGES.txt";
license = licenses.agpl3Only;
maintainers = with maintainers; [ Scrumplex ];
};
}
|