Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dotmap / default.nix
blob2300ac013a2488915cdca5bc589ef8a7fb4dcf6a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "dotmap";
10   version = "1.3.30";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-WCGnkz8HX7R1Y0F8DpLgt8AxFYtMmmp+VhY0ebZYs2g=";
18   };
20   nativeCheckInputs = [
21     pytestCheckHook
22   ];
24   pytestFlagsArray = [
25     "dotmap/test.py"
26   ];
28   pythonImportsCheck = [
29     "dotmap"
30   ];
32   meta = with lib; {
33     description = "Python for dot-access dictionaries";
34     homepage = "https://github.com/drgrib/dotmap";
35     license = with licenses; [ mit ];
36     maintainers = with maintainers; [ fab ];
37   };