mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
python3Packages.python-benedict: init at 0.24.3
This commit is contained in:
parent
03f587e526
commit
688cbf9696
75
pkgs/development/python-modules/python-benedict/default.nix
Normal file
75
pkgs/development/python-modules/python-benedict/default.nix
Normal file
|
@ -0,0 +1,75 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
|
||||
, mailchecker
|
||||
, phonenumbers
|
||||
, python-dateutil
|
||||
, python-fsutil
|
||||
, python-slugify
|
||||
, pyyaml
|
||||
, ftfy
|
||||
, requests
|
||||
, six
|
||||
, toml
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-benedict";
|
||||
version = "0.24.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabiocaccamo";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-06n8MNoGQRSrBK2XeEBBoQ2NIXWf0qXPVBeP9ERMEj0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mailchecker
|
||||
phonenumbers
|
||||
python-dateutil
|
||||
python-fsutil
|
||||
python-slugify
|
||||
pyyaml
|
||||
ftfy
|
||||
requests
|
||||
six
|
||||
toml
|
||||
xmltodict
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_from_base64_with_valid_url_valid_content"
|
||||
"test_from_json_with_valid_url_valid_content"
|
||||
"test_from_pickle_with_valid_url_valid_content"
|
||||
"test_from_plist_with_valid_url_valid_content"
|
||||
"test_from_query_string_with_valid_url_valid_content"
|
||||
"test_from_toml_with_valid_url_valid_content"
|
||||
"test_from_xml_with_valid_url_valid_content"
|
||||
"test_from_yaml_with_valid_url_valid_content"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"benedict"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module with keylist/keypath support";
|
||||
homepage = "https://github.com/fabiocaccamo/python-benedict";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -7820,6 +7820,8 @@ in {
|
|||
|
||||
python-baseconv = callPackage ../development/python-modules/python-baseconv { };
|
||||
|
||||
python-benedict = callPackage ../development/python-modules/python-benedict { };
|
||||
|
||||
python-bidi = callPackage ../development/python-modules/python-bidi { };
|
||||
|
||||
python-binance = callPackage ../development/python-modules/python-binance { };
|
||||
|
|
Loading…
Reference in a new issue