mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
annextimelog: use nixpkgs' tzdata
This commit is contained in:
parent
27dbbf575f
commit
00cfea15d1
1 changed files with 7 additions and 20 deletions
|
@ -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;
|
||||
[
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
unittestCheckHook
|
||||
setuptools
|
||||
wheel
|
||||
poetry-core
|
||||
]
|
||||
++ [ tzdata ];
|
||||
tzdata
|
||||
];
|
||||
|
||||
unittestFlags = [ "-vb" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue