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