about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/epr/default.nix
blob: 5728972f2bd84b34de24251d33b1765cf3694f25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
  pname = "epr";
  version = "2.4.13";

  src = fetchFromGitHub {
    owner = "wustho";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-1qsqYlqGlCRhl7HINrcTDt5bGlb7g5PmaERylT+UvEg=";
  };

  meta = with lib; {
    description = "CLI Epub Reader";
    mainProgram = "epr";
    homepage = "https://github.com/wustho/epr";
    license = licenses.mit;
    maintainers = [ maintainers.Br1ght0ne ];
    platforms = platforms.all;
  };
}