python3Packages.hijridate: rename from hijri-converter; 2.3.2.post1 -> 2.5.0

Changed files
+42 -35
pkgs
development
python-modules
dateparser
hijri-converter
hijridate
top-level
+2 -2
pkgs/development/python-modules/dateparser/default.nix
···
pytz,
regex,
tzlocal,
-
hijri-converter,
+
hijridate,
convertdate,
fasttext,
langdetect,
···
optional-dependencies = {
calendars = [
-
hijri-converter
+
hijridate
convertdate
];
fasttext = [ fasttext ];
-32
pkgs/development/python-modules/hijri-converter/default.nix
···
-
{
-
lib,
-
buildPythonPackage,
-
fetchPypi,
-
pytestCheckHook,
-
pythonOlder,
-
}:
-
-
buildPythonPackage rec {
-
pname = "hijri-converter";
-
version = "2.3.2.post1";
-
format = "setuptools";
-
-
disabled = pythonOlder "3.7";
-
-
src = fetchPypi {
-
inherit pname version;
-
hash = "sha256-mGZXzNg6W+ryM85aIZZFdH6IXEXUgzvSqPobkn+jlXA=";
-
};
-
-
nativeCheckInputs = [ pytestCheckHook ];
-
-
pythonImportsCheck = [ "hijri_converter" ];
-
-
meta = with lib; {
-
description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar";
-
homepage = "https://github.com/dralshehri/hijri-converter";
-
changelog = "https://github.com/dralshehri/hijridate/blob/v${version}/CHANGELOG.md";
-
license = licenses.mit;
-
maintainers = with maintainers; [ hexa ];
-
};
-
}
+38
pkgs/development/python-modules/hijridate/default.nix
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchFromGitHub,
+
hatchling,
+
hatch-fancy-pypi-readme,
+
pytestCheckHook,
+
}:
+
+
buildPythonPackage rec {
+
pname = "hijridate";
+
version = "2.5.0";
+
pyproject = true;
+
+
src = fetchFromGitHub {
+
owner = "dralshehri";
+
repo = "hijridate";
+
tag = "v${version}";
+
hash = "sha256-IT5OnFDuNQ9tMfuZ5pFqnAPd7nspIfAmeN6Pqtn0OwA=";
+
};
+
+
build-system = [
+
hatchling
+
hatch-fancy-pypi-readme
+
];
+
+
nativeCheckInputs = [ pytestCheckHook ];
+
+
pythonImportsCheck = [ "hijridate" ];
+
+
meta = with lib; {
+
description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar";
+
homepage = "https://github.com/dralshehri/hijridate";
+
changelog = "https://github.com/dralshehri/hijridate/blob/v${version}/CHANGELOG.md";
+
license = licenses.mit;
+
maintainers = with maintainers; [ hexa ];
+
};
+
}
+1
pkgs/top-level/python-aliases.nix
···
hcs_utils = hcs-utils; # added 2024-01-06
hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
hglib = python-hglib; # added 2023-10-13
+
hijri-converter = hijridate; # added 2025-08-07
hkdf = throw "hkdf has been removed, as it is no longer maintained upstream."; # added 2024-10-04
homeassistant-bring-api = bring-api; # added 2024-04-11
homeassistant-pyozw = throw "homeassistant-pyozw has been removed, as it was packaged for home-assistant which has removed it as a dependency."; # added 2024-01-05
+1 -1
pkgs/top-level/python-packages.nix
···
hightime = callPackage ../development/python-modules/hightime { };
-
hijri-converter = callPackage ../development/python-modules/hijri-converter { };
+
hijridate = callPackage ../development/python-modules/hijridate { };
hikari = callPackage ../development/python-modules/hikari { };