Unverified Commit f4d0cfd9 authored by Paul Haerle's avatar Paul Haerle Committed by GitHub
Browse files

python3Packages.cron-descriptor: 1.4.5 -> 2.0.6 (#471385)

parents 44a82496 83e2a400
Loading
Loading
Loading
Loading
+6 −11
Original line number Diff line number Diff line
@@ -2,33 +2,28 @@
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  unittestCheckHook,
  mock,
  pytestCheckHook,
  setuptools,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "cron-descriptor";
  version = "1.4.5";
  version = "2.0.6";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Salamek";
    repo = "cron-descriptor";
    tag = version;
    hash = "sha256-ElYma6RH2u1faIgOvGpMQA26dSIibWcO4mWU6NAA5PQ=";
    hash = "sha256-f7TQ3wvcHrzefZowUvxl1T0LCGeCnvpPI/IZn4XcDa4=";
  };

  # remove tests_require, as we don't do linting anyways
  postPatch = ''
    sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py
  '';

  build-system = [ setuptools ];

  nativeCheckInputs = [
    mock
    unittestCheckHook
    pytestCheckHook
    typing-extensions
  ];

  pythonImportsCheck = [ "cron_descriptor" ];