Merge pull request #36732 from etu/pychart-fixes

pychart: move to own file
This commit is contained in:
Frederik Rietdijk 2018-03-10 12:02:32 +01:00 committed by GitHub
commit fbea3ddd0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 15 deletions

View file

@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy27 }:
buildPythonPackage rec {
pname = "pychart";
version = "1.39";
disabled = ! isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "882650928776a7ca72e67054a9e0ac98f78645f279c0cfb5910db28f03f07c2e";
};
meta = with stdenv.lib; {
description = "Library for creating high quality encapsulated Postscript, PDF, PNG, or SVG charts";
homepage = https://pypi.python.org/pypi/PyChart;
license = licenses.gpl2;
};
}

View file

@ -19655,21 +19655,7 @@ EOF
};
};
pychart = buildPythonPackage rec {
name = "pychart-1.39";
disabled = ! isPy27;
src = pkgs.fetchurl {
url = "http://download.gna.org/pychart/PyChart-1.39.tar.gz";
sha256 = "882650928776a7ca72e67054a9e0ac98f78645f279c0cfb5910db28f03f07c2e";
};
meta = {
description = "Library for creating high quality encapsulated Postscript, PDF, PNG, or SVG charts";
homepage = http://home.gna.org/pychart/;
license = licenses.gpl2;
};
};
pychart = callPackage ../development/python-modules/pychart {};
parsimonious = buildPythonPackage rec {
version = "0.7.0";