summary refs log tree commit diff
path: root/pkgs/development/python-modules/pychart
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2018-03-10 08:43:11 +0100
committerElis Hirwing <elis@hirwing.se>2018-03-10 12:00:12 +0100
commitf1795e39575752f36df2115f1cdfc4d0b1b0eb8a (patch)
tree0e3e9fcfa22e2b7515f6893ba503dd6a678df138 /pkgs/development/python-modules/pychart
parent14464b1dc5aa480e030ef8ba25da1899160e81fb (diff)
downloadnixlib-f1795e39575752f36df2115f1cdfc4d0b1b0eb8a.tar
nixlib-f1795e39575752f36df2115f1cdfc4d0b1b0eb8a.tar.gz
nixlib-f1795e39575752f36df2115f1cdfc4d0b1b0eb8a.tar.bz2
nixlib-f1795e39575752f36df2115f1cdfc4d0b1b0eb8a.tar.lz
nixlib-f1795e39575752f36df2115f1cdfc4d0b1b0eb8a.tar.xz
nixlib-f1795e39575752f36df2115f1cdfc4d0b1b0eb8a.tar.zst
nixlib-f1795e39575752f36df2115f1cdfc4d0b1b0eb8a.zip
pychart: move to own file
Also update website and download of source.
Diffstat (limited to 'pkgs/development/python-modules/pychart')
-rw-r--r--pkgs/development/python-modules/pychart/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pychart/default.nix b/pkgs/development/python-modules/pychart/default.nix
new file mode 100644
index 000000000000..259c87347d72
--- /dev/null
+++ b/pkgs/development/python-modules/pychart/default.nix
@@ -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;
+  };
+}