1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 hatchling, 5 hatch-vcs, 6 lib, 7 more-itertools, 8 psutil, 9 pytestCheckHook, 10 unzip, 11}: 12 13buildPythonPackage rec { 14 pname = "datasalad"; 15 version = "0.4.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "datalad"; 20 repo = "datasalad"; 21 tag = "v${version}"; 22 hash = "sha256-UIrbvFz674+HarFbv1eF++flj1hOR0cZyqKQSl+G7xY="; 23 }; 24 25 build-system = [ 26 hatchling 27 hatch-vcs 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 more-itertools 33 psutil 34 unzip 35 ]; 36 37 pythonImportsCheck = [ "datasalad" ]; 38 39 meta = { 40 description = "Pure-Python library with a collection of utilities for working with Git and git-annex"; 41 changelog = "https://github.com/datalad/datasalad/blob/main/CHANGELOG.md"; 42 homepage = "https://github.com/datalad/datasalad"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ gador ]; 45 }; 46}