python3Packages.pygal: 3.0.0 -> 3.0.4
https://github.com/Kozea/pygal/blob/3.0.4/docs/changelog.rst
This commit is contained in:
@@ -1,20 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, importlib-metadata
|
||||
|
||||
# optional-dependencies
|
||||
, lxml
|
||||
, cairosvg
|
||||
|
||||
# tests
|
||||
, pyquery
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygal";
|
||||
version = "3.0.0";
|
||||
format = "setuptools";
|
||||
version = "3.0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-KSP5XS5RWTCqWplyGdzO+/PZK36vX8HJ/ruVsJk1/bI=";
|
||||
hash = "sha256-bF2jPxBB6LMMvJgPijSRDZ7cWEuDMkApj2ol32VCUok=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -22,6 +32,14 @@ buildPythonPackage rec {
|
||||
--replace pytest-runner ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
lxml = [ lxml ];
|
||||
png = [ cairosvg ];
|
||||
@@ -38,6 +56,8 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/Kozea/pygal/blob/${version}/docs/changelog.rst";
|
||||
downloadPage = "https://github.com/Kozea/pygal";
|
||||
description = "Sexy and simple python charting";
|
||||
homepage = "http://www.pygal.org";
|
||||
license = licenses.lgpl3Plus;
|
||||
|
||||
Reference in New Issue
Block a user