Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 760 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lxml, 6 six, 7}: 8 9buildPythonPackage rec { 10 pname = "ebooklib"; 11 version = "0.19"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "aerkalov"; 16 repo = "ebooklib"; 17 tag = "v${version}"; 18 hash = "sha256-al5iSw3sIIjIYRZPrYgbBQ7V324f6OTxmtrnoOHafSQ="; 19 }; 20 21 propagatedBuildInputs = [ 22 lxml 23 six 24 ]; 25 26 pythonImportsCheck = [ "ebooklib" ]; 27 28 meta = with lib; { 29 description = "Python E-book library for handling books in EPUB2/EPUB3 format"; 30 homepage = "https://github.com/aerkalov/ebooklib"; 31 changelog = "https://github.com/aerkalov/ebooklib/blob/${src.tag}/CHANGES.txt"; 32 license = licenses.agpl3Only; 33 maintainers = with maintainers; [ Scrumplex ]; 34 }; 35}