Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / datefinder / default.nix
blob938f25ee1d7027578e068d0f925c9f7192877bac
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , python-dateutil
6 , pytz
7 , regex
8 }:
10 buildPythonPackage rec {
11   pname = "datefinder";
12   version = "0.7.3";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "akoumjian";
17     repo = "datefinder";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-uOSwS+mHgbvEL+rTfs4Ax9NvJnhYemxFVqqDssy2i7g=";
20   };
22   propagatedBuildInputs = [
23     regex
24     pytz
25     python-dateutil
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "datefinder" ];
34   meta = {
35     description = "Extract datetime objects from strings";
36     homepage = "https://github.com/akoumjian/datefinder";
37     license = lib.licenses.mit;
38     maintainers = lib.teams.deshaw.members;
39   };