Files
nixpkgs/pkgs/development/python-modules/datefinder/default.nix
T
Wolfgang Walther 6e85417bfe teams/deshaw: drop
2026-01-18 15:28:17 +01:00

43 lines
782 B
Nix

{
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;
maintainers = with lib.maintainers; [
de11n
despsyched
];
};
}