python3Packages.timetagger: format
This commit is contained in:
parent
60376d0d7d
commit
ef0bee5047
1 changed files with 15 additions and 18 deletions
|
@ -16,24 +16,6 @@ python3Packages.buildPythonPackage rec {
|
|||
sha256 = "1x0hy9wnifi694glwv6irhnjvwh1kgl6wn6qlk5qy4x6z6bkii24";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://timetagger.app";
|
||||
license = licenses.gpl3;
|
||||
description = "Tag your time, get the insight";
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# https://github.com/NixOS/nixpkgs/issues/12591
|
||||
mkdir -p check-phase
|
||||
export HOME=$(pwd)/check-phase
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
asgineer
|
||||
itemdb
|
||||
|
@ -44,4 +26,19 @@ python3Packages.buildPythonPackage rec {
|
|||
uvicorn
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://timetagger.app";
|
||||
license = licenses.gpl3;
|
||||
description = "Tag your time, get the insight";
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue