1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6, setuptools 7, setuptools-scm 8}: 9 10buildPythonPackage rec { 11 pname = "annexremote"; 12 version = "1.6.4"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "Lykos153"; 19 repo = "AnnexRemote"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-eBq1nZnNuzTLvc11G/XaenZlVEUke3kpWlZ7P5g4kc8="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ 34 "annexremote" 35 ]; 36 37 meta = with lib; { 38 description = "Helper module to easily develop git-annex remotes"; 39 homepage = "https://github.com/Lykos153/AnnexRemote"; 40 changelog = "https://github.com/Lykos153/AnnexRemote/releases/tag/v${version}"; 41 license = licenses.gpl3Only; 42 maintainers = with maintainers; [ montag451 ]; 43 }; 44}