From 18ca51617f8ccd7095b57fcc762c4c5de20b4a29 Mon Sep 17 00:00:00 2001 From: Leonid Belyaev Date: Mon, 22 May 2023 22:30:35 -0400 Subject: [PATCH] maintainers: add leonid --- maintainers/maintainer-list.nix | 6 ++++++ pkgs/tools/text/epub2txt2/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 34 insertions(+) create mode 100644 pkgs/tools/text/epub2txt2/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 51061e416f4..11aa8518040 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8924,6 +8924,12 @@ githubId = 1572058; name = "Leonardo Cecchi"; }; + leonid = { + email = "belyaev.l@northeastern.edu"; + github = "leonidbelyaev"; + githubId = 77865363; + name = "Leonid Belyaev"; + }; leshainc = { email = "leshainc@fomalhaut.me"; github = "LeshaInc"; diff --git a/pkgs/tools/text/epub2txt2/default.nix b/pkgs/tools/text/epub2txt2/default.nix new file mode 100644 index 00000000000..3ce0695712f --- /dev/null +++ b/pkgs/tools/text/epub2txt2/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "epub2txt2"; + version = "2.06"; + + src = fetchFromGitHub { + owner = "kevinboone"; + repo = pname; + rev = "refs/tags/v${version}"; + sha256 = "sha256-zzcig5XNh9TqUHginsfoC47WrKavqi6k6ezir+OOMJk="; + }; + + preConfigure = '' + sed -i Makefile -e 's!DESTDIR)!out)!' + sed -i Makefile -e 's!/usr!!' + ''; + + meta = { + description = "A simple command-line utility for Linux, for extracting text from EPUB documents."; + homepage = "https://github.com/kevinboone/epub2txt2"; + license = lib.licenses.gpl3Only; + platforms = lib.platforms.unix; + maintainers = [ lib.maintainers.leonid ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3c2a437a0b5..2871f97c531 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7067,6 +7067,8 @@ with pkgs; engauge-digitizer = libsForQt5.callPackage ../applications/science/math/engauge-digitizer { }; + epub2txt2 = callPackage ../tools/text/epub2txt2 { }; + epubcheck = callPackage ../tools/text/epubcheck { }; evil-winrm = callPackage ../tools/security/evil-winrm { };