depot/third_party/nixpkgs/pkgs/development/python-modules/dotmap/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

30 lines
595 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dotmap";
version = "1.3.24";
src = fetchPypi {
inherit pname version;
sha256 = "1mvkhkrhzzzng17j2yvwp4x1hj8wls3qw5lngqs777a2qc1mhg0r";
};
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 ];
};
}