mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
56 lines
1010 B
Nix
56 lines
1010 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools-scm
|
|
, pyfiglet
|
|
, pillow
|
|
, wcwidth
|
|
, future
|
|
, mock
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asciimatics";
|
|
version = "1.14.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-FtIM5CIQtDTrBbpGns24KTrH7TwM4N1PcOMNctdgIic=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pyfiglet
|
|
pillow
|
|
wcwidth
|
|
future
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
nose
|
|
];
|
|
|
|
# tests require a pty emulator
|
|
# which is too complicated to setup here
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"asciimatics.effects"
|
|
"asciimatics.renderers"
|
|
"asciimatics.scene"
|
|
"asciimatics.screen"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Helps to create full-screen text UIs (from interactive forms to ASCII animations) on any platform";
|
|
homepage = "https://github.com/peterbrittain/asciimatics";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ cmcdragonkai ];
|
|
};
|
|
}
|