depot/third_party/nixpkgs/pkgs/by-name/ep/epy/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
633 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "epy";
version = "2023.6.11";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "epy_reader";
hash = "sha256-gel503e8DXjrMJK9lpAZ6GxQsrahKX+SjiyRwKbiJUY=";
};
nativeBuildInputs = [ python3Packages.poetry-core ];
pythonImportsCheck = [
"epy_reader.cli"
"epy_reader.reader"
];
meta = {
description = "CLI Ebook Reader";
homepage = "https://github.com/wustho/epy";
mainProgram = "epy";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ perstark ];
};
}