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,
|
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 {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "annextimelog";
|
pname = "annextimelog";
|
||||||
version = "0.15.0";
|
version = "0.15.0";
|
||||||
|
@ -30,15 +19,13 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
pythonRelaxDeps = [ "rich" ];
|
pythonRelaxDeps = [ "rich" ];
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
with python3.pkgs;
|
unittestCheckHook
|
||||||
[
|
setuptools
|
||||||
unittestCheckHook
|
wheel
|
||||||
setuptools
|
poetry-core
|
||||||
wheel
|
tzdata
|
||||||
poetry-core
|
];
|
||||||
]
|
|
||||||
++ [ tzdata ];
|
|
||||||
|
|
||||||
unittestFlags = [ "-vb" ];
|
unittestFlags = [ "-vb" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue