Unverified Commit 9b06a110 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #255449 from fabaff/beautiful-date-bump

python311Packages.beautiful-date: 2.2.0 -> 2.3.0
parents f4a5c321 e2e7ca9b
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, freezegun
, python-dateutil
, pytestCheckHook
, pythonOlder
@@ -8,16 +9,16 @@

buildPythonPackage rec {
  pname = "beautiful-date";
  version = "2.2.0";
  version = "2.3.0";
  format = "setuptools";

  disable = pythonOlder "3.6";
  disable = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "kuzmoyev";
    repo = "beautiful-date";
    rev = "v${version}";
    hash = "sha256-5xRmHaAPf1ps75cOINHkHT1aYb5UGLZGl0OHVQaMES0=";
    rev = "refs/tags/v${version}";
    hash = "sha256-e6YJBaDwWqVehxBPOvsIdV4FIXlIwj29H5untXGJvT0=";
  };

  propagatedBuildInputs = [
@@ -25,13 +26,16 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    freezegun
    pytestCheckHook
  ];

  pythonImportsCheck = [ "beautiful_date" ];
  pythonImportsCheck = [
    "beautiful_date"
  ];

  meta = with lib; {
    description = "Simple and beautiful way to create date and datetime objects in Python";
    description = "Simple and beautiful way to create date and datetime objects";
    homepage = "https://github.com/kuzmoyev/beautiful-date";
    license = licenses.mit;
    maintainers = with maintainers; [ mbalatsko ];