uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
58
pkgs/development/python-modules/scmrepo/default.nix
Normal file
58
pkgs/development/python-modules/scmrepo/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib
|
||||
, asyncssh
|
||||
, buildPythonPackage
|
||||
, dulwich
|
||||
, fetchFromGitHub
|
||||
, fsspec
|
||||
, funcy
|
||||
, GitPython
|
||||
, pathspec
|
||||
, pygit2
|
||||
, pygtrie
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scmrepo";
|
||||
version = "0.0.24";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iterative";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-S1jeLls0do9sCqTWe8h8+8CO3oM160J97UmISUhTU/s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asyncssh
|
||||
dulwich
|
||||
fsspec
|
||||
funcy
|
||||
GitPython
|
||||
pathspec
|
||||
pygit2
|
||||
pygtrie
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "asyncssh>=2.7.1,<2.9" "asyncssh>=2.7.1"
|
||||
'';
|
||||
|
||||
# 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue