mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
9bfe1e76f4
Diff: https://github.com/iterative/scmrepo/compare/refs/tags/3.3.7...3.3.8 Changelog: https://github.com/iterative/scmrepo/releases/tag/3.3.8
67 lines
1.1 KiB
Nix
67 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.8";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iterative";
|
|
repo = "scmrepo";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-8fx4yZcdOb32x5eo04ixpMe3Mh21LwqzNKVRVEnjfQo=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|