depot/third_party/nixpkgs/pkgs/applications/misc/zscroll/default.nix

28 lines
635 B
Nix
Raw Normal View History

{ 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";
homepage = "https://github.com/noctuid/zscroll";
license = licenses.gpl3Plus;
platforms = platforms.all;
};
}