python.pkgs.tabulate: move expression

This commit is contained in:
Frederik Rietdijk 2017-10-29 13:44:43 +01:00
parent 5c2d2cbff3
commit 416a975f74
2 changed files with 29 additions and 23 deletions

View File

@ -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 ];
};
}

View File

@ -20714,29 +20714,7 @@ in {
inherit (pkgs) pkgconfig systemd;
};
tabulate = buildPythonPackage rec {
version = "0.7.7";
pname = "tabulate";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6";
};
buildInputs = with self; [ nose ];
# Tests: cannot import common (relative import).
doCheck = false;
meta = {
description = "Pretty-print tabular data";
homepage = https://bitbucket.org/astanin/python-tabulate;
license = licenses.mit;
maintainers = with maintainers; [ fridh ];
};
};
tabulate = callPackage ../development/python-modules/tabulate { };
targetcli_fb = buildPythonPackage rec {
version = "2.1.fb33";