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
34
pkgs/development/python-modules/mypy/extensions.nix
Normal file
34
pkgs/development/python-modules/mypy/extensions.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, typing
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mypy-extensions";
|
||||
version = "0.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python";
|
||||
repo = "mypy_extensions";
|
||||
rev = version;
|
||||
sha256 = "sha256-JjhbxX5DBAbcs1o2fSWywz9tot792q491POXiId+NyI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optional (pythonOlder "3.5") typing;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover tests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "mypy_extensions" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Experimental type system extensions for programs checked with the mypy typechecker";
|
||||
homepage = "http://www.mypy-lang.org";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ martingms lnl7 SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue