python3Packages.sparklines: init at 0.4.2

This commit is contained in:
Ryan Horiguchi 2021-04-16 12:54:16 +02:00
parent 570652d728
commit f4c9dc066f
No known key found for this signature in database
GPG key ID: CA7EE98D45A1132A
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sparklines";
version = "0.4.2";
src = fetchFromGitHub {
owner = "deeplook";
repo = pname;
rev = "v${version}";
sha256 = "1hfxp5c4wbyddy7fgmnda819w3dia3i6gqb2323dr2z016p84r7l";
};
propagatedBuildInputs = [ future ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sparklines" ];
meta = with lib; {
description = "This Python package implements Edward Tufte's concept of sparklines, but limited to text only";
homepage = "https://github.com/deeplook/sparklines";
maintainers = with maintainers; [ rhoriguchi ];
license = licenses.gpl3Only;
};
}

View file

@ -7903,6 +7903,8 @@ in {
spark_parser = callPackage ../development/python-modules/spark_parser { };
sparklines = callPackage ../development/python-modules/sparklines { };
SPARQLWrapper = callPackage ../development/python-modules/sparqlwrapper { };
sparse = callPackage ../development/python-modules/sparse { };