pythonPackages.ptable: init at unstable-2019-06-14
The package name has been normalized to ptable from PTable.
This commit is contained in:
parent
195935f626
commit
2088b61ffb
27
pkgs/development/python-modules/ptable/default.nix
Normal file
27
pkgs/development/python-modules/ptable/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub, nose }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ptable";
|
||||||
|
version = "unstable-2019-06-14";
|
||||||
|
|
||||||
|
# https://github.com/kxxoling/PTable/issues/27
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kxxoling";
|
||||||
|
repo = "PTable";
|
||||||
|
rev = "bcfdb92811ae1f39e1065f31544710bf87d3bc21";
|
||||||
|
sha256 = "1cj314rp6irlvr0a2c4xffsm2idsb0hzwr38vzz6z3kbhphcb63i";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ nose ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
nosetests --with-coverage --cover-package=prettytable --cover-min-percentage=75
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/kxxoling/PTable";
|
||||||
|
description = "A simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [ maintainers.mmahut ];
|
||||||
|
};
|
||||||
|
}
|
@ -3861,6 +3861,8 @@ in {
|
|||||||
prompt_toolkit = self.prompt_toolkit;
|
prompt_toolkit = self.prompt_toolkit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ptable = callPackage ../development/python-modules/ptable { };
|
||||||
|
|
||||||
publicsuffix = callPackage ../development/python-modules/publicsuffix {};
|
publicsuffix = callPackage ../development/python-modules/publicsuffix {};
|
||||||
|
|
||||||
py = callPackage ../development/python-modules/py { };
|
py = callPackage ../development/python-modules/py { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user