Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / lunarcalendar / default.nix
blobe5233fec6cb7e8a82f392ebe308117b77ecc6937
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 , python-dateutil
6 , ephem
7 , pytz
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "lunarcalendar";
14   version = "0.0.9";
15   format = "setuptools";
17   src = fetchFromGitHub {
18     owner = "wolfhong";
19     repo = "LunarCalendar";
20     rev = "885418ea1a2a90b7e0bbe758919af9987fb2863b";
21     hash = "sha256-AhxCWWqCjlOroqs4pOSZTWoIQT8a1l/D2Rxuw1XUoU8=";
22   };
24   propagatedBuildInputs = [
25     python-dateutil
26     ephem
27     pytz
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "lunarcalendar" ];
34   meta = {
35     homepage = "https://github.com/wolfhong/LunarCalendar";
36     description = "A Lunar-Solar Converter, containing a number of lunar and solar festivals in China";
37     license = lib.licenses.mit;
38     maintainers = with lib.maintainers; [ tomasajt ];
39   };