python310Packages.pyct: add changelog to meta
- disable on unsupported Python releases
This commit is contained in:
parent
4145f63bce
commit
3eb6081abe
1 changed files with 6 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, param
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, requests
|
||||
}:
|
||||
|
@ -11,10 +11,13 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "pyct";
|
||||
version = "0.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-3Z9KxcvY43w1LAQDYGLTxfZ+/sdtQEdh7xawy/JqpqA=";
|
||||
hash = "sha256-3Z9KxcvY43w1LAQDYGLTxfZ+/sdtQEdh7xawy/JqpqA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -27,8 +30,6 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
doCheck = !isPy27;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyct"
|
||||
];
|
||||
|
@ -36,6 +37,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "ClI for Python common tasks for users";
|
||||
homepage = "https://github.com/pyviz/pyct";
|
||||
changelog = "https://github.com/pyviz-dev/pyct/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue