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