nixpkgs/pkgs/development/python-modules/dotmap/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
676 B
Nix
Raw Normal View History

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