If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
35 lines
696 B
Nix
35 lines
696 B
Nix
{
|
|
lib,
|
|
python3,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "zscroll";
|
|
version = "2.0.1";
|
|
format = "setuptools";
|
|
|
|
# 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 = "Text scroller for use with panels and shells";
|
|
mainProgram = "zscroll";
|
|
homepage = "https://github.com/noctuid/zscroll";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|