diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-10-29 13:44:43 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-10-29 13:44:43 +0100 |
commit | 416a975f74b965425831e829047f45f7e1502a11 (patch) | |
tree | 910480c13e83d6055d3d04eee005e324a5395896 /pkgs/development/python-modules/tabulate | |
parent | 5c2d2cbff321387bbada44ba86f7d422f53b88b7 (diff) |
python.pkgs.tabulate: move expression
Diffstat (limited to 'pkgs/development/python-modules/tabulate')
-rw-r--r-- | pkgs/development/python-modules/tabulate/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tabulate/default.nix b/pkgs/development/python-modules/tabulate/default.nix new file mode 100644 index 0000000000000..9ddc2a0e08b34 --- /dev/null +++ b/pkgs/development/python-modules/tabulate/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchPypi +, nose +}: + +buildPythonPackage rec { + version = "0.7.7"; + pname = "tabulate"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6"; + }; + + checkInputs = [ nose ]; + + # Tests: cannot import common (relative import). + doCheck = false; + + meta = { + description = "Pretty-print tabular data"; + homepage = https://bitbucket.org/astanin/python-tabulate; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fridh ]; + }; +} \ No newline at end of file |