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
50
pkgs/development/python-modules/automat/default.nix
Normal file
50
pkgs/development/python-modules/automat/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, attrs
|
||||
, m2r
|
||||
, pytest-benchmark
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
, six
|
||||
}:
|
||||
|
||||
let automat = buildPythonPackage rec {
|
||||
version = "20.2.0";
|
||||
pname = "automat";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Automat";
|
||||
inherit version;
|
||||
sha256 = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
m2r
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
attrs
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-benchmark
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# escape infinite recursion with twisted
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = {
|
||||
check = automat.overridePythonAttrs (_: { doCheck = true; });
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/glyph/Automat";
|
||||
description = "Self-service finite-state machines for the programmer on the go";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}; in automat
|
||||
Loading…
Add table
Add a link
Reference in a new issue