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
38
pkgs/development/python-modules/aiodns/default.nix
Normal file
38
pkgs/development/python-modules/aiodns/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pycares
|
||||
, pythonOlder
|
||||
, typing
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodns";
|
||||
version = "3.0.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "saghul";
|
||||
repo = pname;
|
||||
rev = "aiodns-${version}";
|
||||
sha256 = "1i91a43gsq222r8212jn4m6bxc3fl04z1mf2h7s39nqywxkggvlp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pycares
|
||||
] ++ lib.optional (pythonOlder "3.7") [
|
||||
typing
|
||||
];
|
||||
|
||||
# Could not contact DNS servers
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aiodns" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple DNS resolver for asyncio";
|
||||
homepage = "https://github.com/saghul/aiodns";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue