evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / beautiful-date / default.nix
blobed34ae4688261231a6b51881256f0702906cda76
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   freezegun,
6   python-dateutil,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "beautiful-date";
13   version = "2.3.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "kuzmoyev";
20     repo = "beautiful-date";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-e6YJBaDwWqVehxBPOvsIdV4FIXlIwj29H5untXGJvT0=";
23   };
25   propagatedBuildInputs = [ python-dateutil ];
27   nativeCheckInputs = [
28     freezegun
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "beautiful_date" ];
34   meta = with lib; {
35     description = "Simple and beautiful way to create date and datetime objects";
36     homepage = "https://github.com/kuzmoyev/beautiful-date";
37     license = licenses.mit;
38     maintainers = with maintainers; [ mbalatsko ];
39   };