depot/third_party/nixpkgs/pkgs/development/python-modules/annexremote/default.nix

38 lines
851 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "annexremote";
version = "1.6.6";
pyproject = true;
src = fetchFromGitHub {
owner = "Lykos153";
repo = "AnnexRemote";
rev = "refs/tags/v${version}";
hash = "sha256-RShDcqAjG+ujGzWu5S9za24WSsIWctqi3nWQ8EU4DTo=";
};
build-system = [
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 ];
};
}