Commit e8c8b345 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent f97bfaaf
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
@@ -6,22 +6,20 @@

python3.pkgs.buildPythonApplication (finalAttrs: {
  pname = "past-time";
  version = "0.3.1";
  version = "0.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "fabaff";
    repo = "past-time";
    tag = finalAttrs.version;
    hash = "sha256-NSuU33vuHbgJ+cG0FrGYLizIrG7jSz+veptt3D4UegY=";
    hash = "sha256-1t43GAcA3Dd5F2xO0JMmq8f5cbmmcO2I7TIGaVa1ebw=";
  };

  nativeBuildInputs = with python3.pkgs; [
    poetry-core
  ];
  build-system = with python3.pkgs; [ poetry-core ];

  propagatedBuildInputs = with python3.pkgs; [
    click
  dependencies = with python3.pkgs; [
    cyclopts
    tqdm
  ];

@@ -30,15 +28,13 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "past_time"
  ];
  pythonImportsCheck = [ "past_time" ];

  meta = {
    description = "Tool to visualize the progress of the year based on the past days";
    homepage = "https://github.com/fabaff/past-time";
    changelog = "https://github.com/fabaff/past-time/releases/tag/${finalAttrs.version}";
    license = with lib.licenses; [ asl20 ];
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "past-time";
  };