python3Packages.python-box: init at 5.3.0

This commit is contained in:
Fabian Affolter 2021-03-28 18:10:55 +02:00 committed by Jonathan Ringer
parent f3b5f40c81
commit 96a04108e0
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, msgpack
, pytestCheckHook
, pythonOlder
, pyyaml
, ruamel_yaml
, toml
}:
buildPythonPackage rec {
pname = "python-box";
version = "5.3.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "cdgriffith";
repo = "Box";
rev = version;
sha256 = "0fhmkjdcacpwyg7fajqfvnv3n9xd9rxjdpvi8z3j73a1gls36gf4";
};
propagatedBuildInputs = [
msgpack
pyyaml
ruamel_yaml
toml
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "box" ];
meta = with lib; {
description = "Python dictionaries with advanced dot notation access";
homepage = "https://github.com/cdgriffith/Box";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6633,6 +6633,8 @@ in {
python-binance = callPackage ../development/python-modules/python-binance { };
python-box = callPackage ../development/python-modules/python-box { };
python-constraint = callPackage ../development/python-modules/python-constraint { };
python-crontab = callPackage ../development/python-modules/python-crontab { };