nixpkgs/pkgs/applications/misc/epr/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
536 B
Nix

{ 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;
};
}