Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sparklines / default.nix
blobd5d4e331279325a0359d8a1465f1b5b9c1f6cd2d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , future
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "sparklines";
10   version = "0.4.2";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "deeplook";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "1hfxp5c4wbyddy7fgmnda819w3dia3i6gqb2323dr2z016p84r7l";
18   };
20   propagatedBuildInputs = [ future ];
22   nativeCheckInputs = [ pytestCheckHook ];
24   pythonImportsCheck = [ "sparklines" ];
26   meta = with lib; {
27     description = "This Python package implements Edward Tufte's concept of sparklines, but limited to text only";
28     mainProgram = "sparklines";
29     homepage = "https://github.com/deeplook/sparklines";
30     maintainers = with maintainers; [ rhoriguchi ];
31     license = licenses.gpl3Only;
32   };