mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python3Packages.scmrepo: init at 0.0.7
This commit is contained in:
53
pkgs/development/python-modules/scmrepo/default.nix
Normal file
53
pkgs/development/python-modules/scmrepo/default.nix
Normal file
@@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, asyncssh
|
||||
, buildPythonPackage
|
||||
, dulwich
|
||||
, fetchFromGitHub
|
||||
, fsspec
|
||||
, funcy
|
||||
, GitPython
|
||||
, pathspec
|
||||
, pygit2
|
||||
, pygtrie
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scmrepo";
|
||||
version = "0.0.7";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iterative";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-tZsogqcfAqpSo9yOz4z0mgY9SVU1epPmcBuyLJsHLfY=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -8783,6 +8783,8 @@ in {
|
||||
|
||||
scipy = callPackage ../development/python-modules/scipy { };
|
||||
|
||||
scmrepo = callPackage ../development/python-modules/scmrepo { };
|
||||
|
||||
scour = callPackage ../development/python-modules/scour { };
|
||||
|
||||
scp = callPackage ../development/python-modules/scp { };
|
||||
|
||||
Reference in New Issue
Block a user