Unverified Commit 02e85f46 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

time-decode: 7.0.2 -> 9.0.0, python313Packages.juliandate: init at 1.0.5 (#392326)

parents faa31d20 45b732a5
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -6,38 +6,37 @@

python3.pkgs.buildPythonApplication rec {
  pname = "time-decode";
  version = "7.0.2";
  version = "9.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "digitalsleuth";
    repo = "time_decode";
    tag = "v${version}";
    hash = "sha256-K60xIQ6TWPYlsR6YjIquey5Ioaw4oAId59CPlQNK4yk=";
    hash = "sha256-kydH5WN2PELq6YnoSBFRsyVnxL+0r09WxXuqFANXuNs=";
  };

  nativeBuildInputs = with python3.pkgs; [
    setuptools
  ];
  nativeBuildInputs = with python3.pkgs; [ setuptools ];

  propagatedBuildInputs = with python3.pkgs; [
    colorama
    python-dateutil
    juliandate
    pyqt6
    python-dateutil
    pytz
    tzdata
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "time_decode"
  ];
  pythonImportsCheck = [ "time_decode" ];

  meta = with lib; {
    description = "Timestamp and date decoder";
    homepage = "https://github.com/digitalsleuth/time_decode";
    changelog = "https://github.com/digitalsleuth/time_decode/releases/tag/v${version}";
    license = with licenses; [ mit ];
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "time-decode";
  };
+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 { };