Unverified Commit 84acac48 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

famly-fetch: init at 0.3.0 (#452904)

parents fe19c540 c33b1395
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchFromGitHub,
  versionCheckHook,
}:

python3Packages.buildPythonApplication rec {
  pname = "famly-fetch";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jacobbunk";
    repo = "famly-fetch";
    tag = "v${version}";
    hash = "sha256-Ua2g+YGzMHfMGZrOSKzeqdT/ppanZZWJHjrRxfwVDmE=";
  };

  build-system = with python3Packages; [
    setuptools
  ];

  dependencies = with python3Packages; [
    click
    importlib-resources
    piexif
  ];

  pythonImportsCheck = [ "famly_fetch" ];

  # No tests in the repository
  doCheck = false;
  nativeInstallCheckInputs = [ versionCheckHook ];

  meta = {
    description = "Fetch your (kid's) images from famly.co";
    homepage = "https://github.com/jacobbunk/famly-fetch";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tlvince ];
    mainProgram = "famly-fetch";
  };
}