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