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
53
pkgs/development/python-modules/email-validator/default.nix
Normal file
53
pkgs/development/python-modules/email-validator/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, dnspython
|
||||
, idna
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "email-validator";
|
||||
version = "1.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JoshData";
|
||||
repo = "python-${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "19n6p75m96kwg38bpfsa7ksj26aki02p5pr5f36q8wv3af84s61c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dnspython
|
||||
idna
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# fails with dns.resolver.NoResolverConfiguration due to network sandboxing
|
||||
"test_deliverability_no_records"
|
||||
"test_deliverability_found"
|
||||
"test_deliverability_fails"
|
||||
"test_deliverability_dns_timeout"
|
||||
"test_main_single_good_input"
|
||||
"test_main_multi_input"
|
||||
"test_main_input_shim"
|
||||
"test_validate_email__with_caching_resolver"
|
||||
"test_validate_email__with_configured_resolver"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"email_validator"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A robust email syntax and deliverability validation library for Python 2.x/3.x.";
|
||||
homepage = "https://github.com/JoshData/python-email-validator";
|
||||
license = licenses.cc0;
|
||||
maintainers = with maintainers; [ siddharthist ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue