Commit 45b732a5 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent e10919be
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";
  };