famly-fetch: init at 0.3.0 (#452904)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user