10 buildPythonPackage rec {
11 pname = "python-datemath";
13 format = "setuptools";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
18 owner = "nickmaccarthy";
21 hash = "sha256-WVWGhyBguE1+KEMQu0N5QxO7IC4rPEJ/2L3VWUCQNi4=";
26 name = "remove-unittest2.patch";
27 url = "https://github.com/nickmaccarthy/python-datemath/commit/781daa0241ed327d5f211f3b62f553f3ee3d86e0.patch";
28 hash = "sha256-WD6fuDaSSNXgYWoaUexiWnofCzEZzercEUlqTvOUT5I=";
32 propagatedBuildInputs = [
44 pythonImportsCheck = [
49 description = "Python module to emulate the date math used in SOLR and Elasticsearch";
50 homepage = "https://github.com/nickmaccarthy/python-datemath";
51 license = with licenses; [ asl20 ];
52 maintainers = with maintainers; [ fab ];