2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
drawille,
|
|
|
|
matplotlib,
|
2023-02-02 18:25:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "drawilleplot";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-ZEDroo7KkI2VxdESb2QDX+dPY4UahuuK9L0EddrxJjQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # does not have any tests at all
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
drawille
|
|
|
|
matplotlib
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "drawilleplot" ];
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "matplotlib backend for graph output in unicode terminals using drawille";
|
|
|
|
homepage = "https://github.com/gooofy/drawilleplot";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nobbz ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|