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
74
pkgs/development/python-modules/python-benedict/default.nix
Normal file
74
pkgs/development/python-modules/python-benedict/default.nix
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, ftfy
|
||||
, mailchecker
|
||||
, phonenumbers
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, python-fsutil
|
||||
, pythonOlder
|
||||
, python-slugify
|
||||
, pyyaml
|
||||
, requests
|
||||
, six
|
||||
, toml
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-benedict";
|
||||
version = "0.25.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabiocaccamo";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-egOrotWgRyB6pdWUIRWogwdoK82g/1JfRDc85W4FrjQ=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue