pythonPackages.terminaltables: refactor move to python-modules
This commit is contained in:
parent
d3d1bbe3d5
commit
9ed9014ab5
21
pkgs/development/python-modules/terminaltables/default.nix
Normal file
21
pkgs/development/python-modules/terminaltables/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "terminaltables";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f3eb0eb92e3833972ac36796293ca0906e998dc3be91fbe1f8615b331b853b81";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Display simple tables in terminals";
|
||||
homepage = "https://github.com/Robpol86/terminaltables";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -3945,21 +3945,7 @@ in {
|
||||
|
||||
terminado = callPackage ../development/python-modules/terminado { };
|
||||
|
||||
terminaltables = buildPythonPackage rec {
|
||||
name = "terminaltables-${version}";
|
||||
version = "3.1.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/t/terminaltables/${name}.tar.gz";
|
||||
sha256 = "f3eb0eb92e3833972ac36796293ca0906e998dc3be91fbe1f8615b331b853b81";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Display simple tables in terminals";
|
||||
homepage = "https://github.com/Robpol86/terminaltables";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
terminaltables = callPackage ../development/python-modules/terminaltables { };
|
||||
|
||||
testscenarios = buildPythonPackage rec {
|
||||
name = "testscenarios-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user