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
54
pkgs/development/python-modules/invocations/default.nix
Normal file
54
pkgs/development/python-modules/invocations/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, blessings
|
||||
, fetchFromGitHub
|
||||
, invoke
|
||||
, releases
|
||||
, semantic-version
|
||||
, tabulate
|
||||
, tqdm
|
||||
, twine
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "invocations";
|
||||
version = "2.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyinvoke";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-eyOJKVRfn7elyEkERl7hvRTNFmq7O9Pr03lBS6xp0wE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "semantic_version>=2.4,<2.7" "semantic_version" \
|
||||
--replace "tabulate==0.7.5" "tabulate"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
blessings
|
||||
invoke
|
||||
releases
|
||||
semantic-version
|
||||
tabulate
|
||||
tqdm
|
||||
twine
|
||||
];
|
||||
|
||||
# There's an error loading the test suite. See https://github.com/pyinvoke/invocations/issues/29.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"invocations"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Common/best-practice Invoke tasks and collections";
|
||||
homepage = "https://invocations.readthedocs.io/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ samuela ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue