fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
34 lines
798 B
Nix
34 lines
798 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
future,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sparklines";
|
|
version = "0.5.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deeplook";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-oit1bDqP96wwfTRCV8V0N9P/+pkdW2WYOWT6u3lb4Xs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ future ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "sparklines" ];
|
|
|
|
meta = with lib; {
|
|
description = "This Python package implements Edward Tufte's concept of sparklines, but limited to text only";
|
|
mainProgram = "sparklines";
|
|
homepage = "https://github.com/deeplook/sparklines";
|
|
maintainers = with maintainers; [ rhoriguchi ];
|
|
license = licenses.gpl3Only;
|
|
};
|
|
}
|