Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 787 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, msgpack 5, pytestCheckHook 6, pythonOlder 7, pyyaml 8, ruamel_yaml 9, toml 10}: 11 12buildPythonPackage rec { 13 pname = "python-box"; 14 version = "5.3.0"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "cdgriffith"; 19 repo = "Box"; 20 rev = version; 21 sha256 = "0fhmkjdcacpwyg7fajqfvnv3n9xd9rxjdpvi8z3j73a1gls36gf4"; 22 }; 23 24 propagatedBuildInputs = [ 25 msgpack 26 pyyaml 27 ruamel_yaml 28 toml 29 ]; 30 31 checkInputs = [ 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "box" ]; 36 37 meta = with lib; { 38 description = "Python dictionaries with advanced dot notation access"; 39 homepage = "https://github.com/cdgriffith/Box"; 40 license = with licenses; [ mit ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}