annextimelog: use nixpkgs' tzdata

This commit is contained in:
Yann Büchau 2025-05-16 11:54:19 +02:00
parent 27dbbf575f
commit 00cfea15d1
No known key found for this signature in database
GPG key ID: 08E472451E1F9E32

View file

@ -5,17 +5,6 @@
fetchPypi,
}:
let
tzdata = python3.pkgs.tzdata.overrideAttrs rec {
version = "2023.4";
src = fetchPypi {
pname = "tzdata";
inherit version;
hash = "sha256-3VTJTylHZVIsdzmWSbT+/ZVSJHmmZKDOyH9BvrxhSMk=";
};
};
in
python3.pkgs.buildPythonApplication rec {
pname = "annextimelog";
version = "0.15.0";
@ -30,15 +19,13 @@ python3.pkgs.buildPythonApplication rec {
pythonRelaxDeps = [ "rich" ];
nativeBuildInputs =
with python3.pkgs;
[
unittestCheckHook
setuptools
wheel
poetry-core
]
++ [ tzdata ];
nativeBuildInputs = with python3.pkgs; [
unittestCheckHook
setuptools
wheel
poetry-core
tzdata
];
unittestFlags = [ "-vb" ];