depot/third_party/nixpkgs/pkgs/development/python-modules/dotmap/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

38 lines
676 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "dotmap";
version = "1.3.30";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-WCGnkz8HX7R1Y0F8DpLgt8AxFYtMmmp+VhY0ebZYs2g=";
};
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"dotmap/test.py"
];
pythonImportsCheck = [
"dotmap"
];
meta = with lib; {
description = "Python for dot-access dictionaries";
homepage = "https://github.com/drgrib/dotmap";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}