Commit 3eb6081a authored by Fabian Affolter's avatar Fabian Affolter Committed by Robert Schütz
Browse files

python310Packages.pyct: add changelog to meta

- disable on unsupported Python releases
parent 4145f63b
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
{ 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 ];
  };