nixpkgs/pkgs/applications/misc/zscroll/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

29 lines
664 B
Nix

{ lib, python3, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "zscroll";
version = "2.0.1";
# don't prefix with python version
namePrefix = "";
src = fetchFromGitHub {
owner = "noctuid";
repo = "zscroll";
rev = version;
sha256 = "sha256-gEluWzCbztO4N1wdFab+2xH7l9w5HqZVzp2LrdjHSRM=";
};
doCheck = false;
propagatedBuildInputs = [ python3 ];
meta = with lib; {
description = "A text scroller for use with panels and shells";
mainProgram = "zscroll";
homepage = "https://github.com/noctuid/zscroll";
license = licenses.gpl3Plus;
platforms = platforms.all;
};
}