mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
33 lines
750 B
Nix
33 lines
750 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, future
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sparklines";
|
|
version = "0.4.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deeplook";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1hfxp5c4wbyddy7fgmnda819w3dia3i6gqb2323dr2z016p84r7l";
|
|
};
|
|
|
|
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";
|
|
homepage = "https://github.com/deeplook/sparklines";
|
|
maintainers = with maintainers; [ rhoriguchi ];
|
|
license = licenses.gpl3Only;
|
|
};
|
|
}
|