python.pkgs.tabulate: move expression
This commit is contained in:
parent
5c2d2cbff3
commit
416a975f74
28
pkgs/development/python-modules/tabulate/default.nix
Normal file
28
pkgs/development/python-modules/tabulate/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user