From e25854c530a7de1d4c05bd33fd8a4b23c9afe8e6 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 13 Jul 2019 11:35:49 +0200 Subject: add packages for nixpkgs 19.03 compatibility --- .../python-modules/tabulate/default.nix | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/tabulate/default.nix (limited to 'pkgs/development/python-modules/tabulate') diff --git a/pkgs/development/python-modules/tabulate/default.nix b/pkgs/development/python-modules/tabulate/default.nix new file mode 100644 index 0000000..363caa5 --- /dev/null +++ b/pkgs/development/python-modules/tabulate/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildPythonPackage +, fetchPypi +, nose +}: + +buildPythonPackage rec { + version = "0.8.2"; + pname = "tabulate"; + + src = fetchPypi { + inherit pname version; + sha256 = "1wpp3hjyrw9f1c1xfxkzmm6y9w9jwwhxqa2lj6if4sqadpr17jp4"; + }; + + 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 ]; + }; +} -- cgit v1.2.3