Skip to content

Commit

Permalink
Merge pull request NixOS#270324 from dotlambda/dateparser-1.2.0
Browse files Browse the repository at this point in the history
python311Packages.dateparser: 1.1.8 -> 1.2.0
  • Loading branch information
dotlambda authored Nov 29, 2023
2 parents 3f83e9f + 27386a6 commit e1c3c25
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/development/python-modules/dateparser/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchpatch
, setuptools
, python-dateutil
, pytz
, regex
Expand All @@ -21,19 +21,23 @@

buildPythonPackage rec {
pname = "dateparser";
version = "1.1.8";
version = "1.2.0";

disabled = pythonOlder "3.7";

format = "setuptools";
pyproject = true;

src = fetchFromGitHub {
owner = "scrapinghub";
repo = "dateparser";
rev = "refs/tags/v${version}";
hash = "sha256-52g8defF5bsisBv2QoyUymXcf0sljOI9PjeR4l0Pw6k=";
hash = "sha256-mnL44hojebOwP6qtEBHs5QM4uRmLuGlVNr+sM3jZEKE=";
};

nativeBuildInputs = [
setuptools
];

propagatedBuildInputs = [
python-dateutil
pytz
Expand Down Expand Up @@ -76,6 +80,7 @@ buildPythonPackage rec {
description = "Date parsing library designed to parse dates from HTML pages";
homepage = "https://github.com/scrapinghub/dateparser";
license = licenses.bsd3;
mainProgram = "dateparser-download";
maintainers = with maintainers; [ dotlambda ];
};
}

0 comments on commit e1c3c25

Please sign in to comment.