depot/third_party/nixpkgs/pkgs/development/python-modules/scmrepo/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

66 lines
1.1 KiB
Nix

{
lib,
asyncssh,
buildPythonPackage,
dulwich,
dvc-http,
dvc-objects,
fetchFromGitHub,
fsspec,
funcy,
gitpython,
pathspec,
pygit2,
pygtrie,
pythonOlder,
setuptools,
setuptools-scm,
shortuuid,
}:
buildPythonPackage rec {
pname = "scmrepo";
version = "3.3.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iterative";
repo = "scmrepo";
rev = "refs/tags/${version}";
hash = "sha256-VU0+x4h6jPX7pZwo7ON7WznN+F7g7NjFpYSiLrktwkQ=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
asyncssh
dulwich
dvc-http
dvc-objects
fsspec
funcy
gitpython
pathspec
pygit2
pygtrie
shortuuid
];
# Requires a running Docker instance
doCheck = false;
pythonImportsCheck = [ "scmrepo" ];
meta = with lib; {
description = "SCM wrapper and fsspec filesystem";
homepage = "https://github.com/iterative/scmrepo";
changelog = "https://github.com/iterative/scmrepo/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}