Commit e10919be authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.juliandate: init at 1.0.5

Conversions between Julian Dates and Julian/Gregorian calendar dates

https://github.com/seanredmond/juliandate
parent 6a951071
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "juliandate";
  version = "1.0.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "seanredmond";
    repo = "juliandate";
    tag = "v${version}";
    hash = "sha256-pOWyrPBFqKmG9oKbXY/L14LblIcc8KfZSqZAEQP29V8=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "juliandate" ];

  meta = {
    description = "Conversions between Julian Dates and Julian/Gregorian calendar dates";
    homepage = "https://github.com/seanredmond/juliandate";
    changelog = "https://github.com/seanredmond/juliandate/blob/v${src.tag}/HISTORY.MD";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6966,6 +6966,8 @@ self: super: with self; {
  jug = callPackage ../development/python-modules/jug { };
  juliandate = callPackage ../development/python-modules/juliandate { };
  julius = callPackage ../development/python-modules/julius { };
  junitparser = callPackage ../development/python-modules/junitparser { };