Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / annexremote / default.nix
blob562014f0678900037349a2a40ad28b3e5ade6939
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , setuptools
7 , setuptools-scm
8 }:
10 buildPythonPackage rec {
11   pname = "annexremote";
12   version = "1.6.5";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "Lykos153";
19     repo = "AnnexRemote";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-8WAa5EO5n/dccNW0TUwFgcRjvDFt8QfpHIX2arM4HGc=";
22   };
24   nativeBuildInputs = [
25     setuptools
26     setuptools-scm
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "annexremote"
35   ];
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   };