evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / lunarcalendar / default.nix
blob7472ea07a751fedc1a4ccfba3457a042f6462fb5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   python-dateutil,
7   ephem,
8   pytz,
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "lunarcalendar";
15   version = "0.0.9";
16   format = "setuptools";
18   src = fetchFromGitHub {
19     owner = "wolfhong";
20     repo = "LunarCalendar";
21     rev = "885418ea1a2a90b7e0bbe758919af9987fb2863b";
22     hash = "sha256-AhxCWWqCjlOroqs4pOSZTWoIQT8a1l/D2Rxuw1XUoU8=";
23   };
25   propagatedBuildInputs = [
26     python-dateutil
27     ephem
28     pytz
29   ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   pythonImportsCheck = [ "lunarcalendar" ];
35   meta = {
36     homepage = "https://github.com/wolfhong/LunarCalendar";
37     description = "Lunar-Solar Converter, containing a number of lunar and solar festivals in China";
38     mainProgram = "lunar-find";
39     license = lib.licenses.mit;
40     maintainers = with lib.maintainers; [ tomasajt ];
41   };