pythonPackages.terminaltables: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 11:19:45 -04:00
parent d3d1bbe3d5
commit 9ed9014ab5
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 22 additions and 15 deletions

View 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;
};
}

View file

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