f80124c2af
Diff: https://github.com/Lykos153/AnnexRemote/compare/refs/tags/v1.6.0...v1.6.4 Changelog: https://github.com/Lykos153/AnnexRemote/releases/tag/v1.6.4
44 lines
907 B
Nix
44 lines
907 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "annexremote";
|
|
version = "1.6.4";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Lykos153";
|
|
repo = "AnnexRemote";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-eBq1nZnNuzTLvc11G/XaenZlVEUke3kpWlZ7P5g4kc8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"annexremote"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Helper module to easily develop git-annex remotes";
|
|
homepage = "https://github.com/Lykos153/AnnexRemote";
|
|
changelog = "https://github.com/Lykos153/AnnexRemote/releases/tag/v${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ montag451 ];
|
|
};
|
|
}
|