Files

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

40 lines
738 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
python-dateutil,
pytz,
regex,
}:
buildPythonPackage rec {
pname = "datefinder";
version = "0.7.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "akoumjian";
repo = "datefinder";
tag = "v${version}";
hash = "sha256-uOSwS+mHgbvEL+rTfs4Ax9NvJnhYemxFVqqDssy2i7g=";
};
propagatedBuildInputs = [
regex
pytz
python-dateutil
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "datefinder" ];
meta = {
description = "Extract datetime objects from strings";
homepage = "https://github.com/akoumjian/datefinder";
license = lib.licenses.mit;
teams = [ lib.teams.deshaw ];
};
}