3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #8425 from lihop/add/openpyxl

openpyxl: init at 2.2.4
This commit is contained in:
Arseniy Seroka 2015-06-20 10:50:31 +02:00
commit 0fea053461
2 changed files with 42 additions and 0 deletions

View file

@ -132,6 +132,7 @@
lassulus = "Lassulus <lassulus@gmail.com>";
lethalman = "Luca Bruno <lucabru@src.gnome.org>";
lhvwb = "Nathaniel Baxter <nathaniel.baxter@gmail.com>";
lihop = "Leroy Hopson <nixos@leroy.geek.nz>";
linquize = "Linquize <linquize@yahoo.com.hk>";
linus = "Linus Arver <linusarver@gmail.com>";
lnl7 = "Daiderd Jordan <daiderd@gmail.com>";

View file

@ -3446,6 +3446,26 @@ let
};
};
jdcal = buildPythonPackage rec {
version = "1.0";
name = "jdcal-${version}";
src = pkgs.fetchFromGitHub {
owner = "phn";
repo = "jdcal";
rev = "v${version}";
sha256 = "0jjgrrylraqzk3n97hay4gj00ky6vlvkfaapfgqlbcxyq30j24vq";
};
meta = {
description = "A module containing functions for converting between Julian dates and calendar dates";
homepage = "https://github.com/phn/jdcal";
license = licenses.bsd2;
maintainers = with maintainers; [ lihop ];
platforms = platforms.all;
};
};
jsonwatch = buildPythonPackage rec {
name = "jsonwatch-0.2.0";
@ -8079,6 +8099,27 @@ let
doCheck = false;
};
openpyxl = buildPythonPackage rec {
version = "2.2.4";
name = "openpyxl-${version}";
src = pkgs.fetchhg {
url = "https://bitbucket.org/openpyxl/openpyxl";
rev = "${version}";
sha256 = "1g9imbg4sjfyv5sqg2s7h4svhdmbnvq16hvc1a8jpaqq8nc2vjj2";
};
propagatedBuildInputs = with self; [ jdcal ];
meta = {
description = "A Python library to read/write Excel 2007 xlsx/xlsm files";
homepage = "https://openpyxl.readthedocs.org";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
platforms = platforms.all;
};
};
# optfunc = buildPythonPackage ( rec {
# name = "optfunc-git";
#