nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 61 lines 1.0 kB view raw
1{ 2 lib, 3 aiohttp-retry, 4 asyncssh, 5 buildPythonPackage, 6 dulwich, 7 fetchFromGitHub, 8 fsspec, 9 funcy, 10 gitpython, 11 pathspec, 12 pygit2, 13 pygtrie, 14 setuptools, 15 setuptools-scm, 16 tqdm, 17}: 18 19buildPythonPackage rec { 20 pname = "scmrepo"; 21 version = "3.6.1"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "iterative"; 26 repo = "scmrepo"; 27 tag = version; 28 hash = "sha256-nkHEeslQM+F4PpNrrbSql+jCJDHmdaGfGkciluhXmHo="; 29 }; 30 31 build-system = [ 32 setuptools 33 setuptools-scm 34 ]; 35 36 dependencies = [ 37 aiohttp-retry 38 asyncssh 39 dulwich 40 fsspec 41 funcy 42 gitpython 43 pathspec 44 pygit2 45 pygtrie 46 tqdm 47 ]; 48 49 # Requires a running Docker instance 50 doCheck = false; 51 52 pythonImportsCheck = [ "scmrepo" ]; 53 54 meta = { 55 description = "SCM wrapper and fsspec filesystem"; 56 homepage = "https://github.com/iterative/scmrepo"; 57 changelog = "https://github.com/iterative/scmrepo/releases/tag/${src.tag}"; 58 license = lib.licenses.asl20; 59 maintainers = with lib.maintainers; [ fab ]; 60 }; 61}