d56f44df06
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
53 lines
876 B
Nix
53 lines
876 B
Nix
{ lib
|
|
, asyncssh
|
|
, buildPythonPackage
|
|
, dulwich
|
|
, fetchFromGitHub
|
|
, fsspec
|
|
, funcy
|
|
, GitPython
|
|
, pathspec
|
|
, pygit2
|
|
, pygtrie
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scmrepo";
|
|
version = "0.0.16";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iterative";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-gaZXQFZ1Vm8ruW42IXc6+fLA5856Oc0cGgtScwIr5f8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
asyncssh
|
|
dulwich
|
|
fsspec
|
|
funcy
|
|
GitPython
|
|
pathspec
|
|
pygit2
|
|
pygtrie
|
|
];
|
|
|
|
# Requires a running Docker instance
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"scmrepo"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "SCM wrapper and fsspec filesystem";
|
|
homepage = "https://github.com/iterative/scmrepo";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|