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
39
pkgs/development/python-modules/pandas-stubs/default.nix
Normal file
39
pkgs/development/python-modules/pandas-stubs/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchFromGitHub
|
||||
, typing-extensions
|
||||
, mypy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pandas-stubs";
|
||||
version = "1.2.0.39";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
# Use GitHub source since PyPi source does not include tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirtusLab";
|
||||
repo = pname;
|
||||
rev = "2bd932777d1050ea8f86c527266a4cd205aa15b1";
|
||||
sha256 = "m2McU53NNvRwnWKN9GL8dW1eCGKbTi0471szRQwZu1Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pandas" ];
|
||||
checkInputs = [ mypy ];
|
||||
checkPhase = ''
|
||||
mypy --config-file mypy.ini third_party/3/pandas tests/snippets
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Type annotations for Pandas";
|
||||
homepage = "https://github.com/VirtusLab/pandas-stubs";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.malo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue