diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-06-20 10:50:31 +0200 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-06-20 10:50:31 +0200 |
commit | 0fea0534611848eb1f4c8c8133ea6ec348e78f0d (patch) | |
tree | fbd5c8c83d66611f869edfa5c4f75c5ef7e19e58 | |
parent | 95787d2fe5f48e6b4d5b6846d854231fd3d636aa (diff) | |
parent | 108dbfba9a9aae8a3b5ebaab5425e7d08f021ca4 (diff) | |
download | nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.gz nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.bz2 nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.lz nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.xz nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.zst nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.zip |
Merge pull request #8425 from lihop/add/openpyxl
openpyxl: init at 2.2.4
-rw-r--r-- | lib/maintainers.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 10036c19360..9cc992914a4 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -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>"; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 45148de8ac3..6e6e9d4ddc2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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"; # |