python3Packages.veryprettytable: migrate to pyproject (#524161)
This commit is contained in:
@@ -4,26 +4,31 @@
|
||||
fetchPypi,
|
||||
termcolor,
|
||||
colorama,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "veryprettytable";
|
||||
version = "0.8.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1k1rifz8x6qcicmx2is9vgxcj0qb2f5pvzrp7zhmvbmci3yack3f";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-bkym/Iisrl3hPzf/fYsTCwPJ+ttJR9Eriwybjr6LOcw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
termcolor
|
||||
colorama
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "veryprettytable" ];
|
||||
|
||||
meta = {
|
||||
description = "Simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
|
||||
homepage = "https://github.com/smeggingsmegger/VeryPrettyTable";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user