My personal project and infrastructure archive
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "timetagger";
|
|
|
|
version = "22.1.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "almarklein";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
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
|
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pscript
|
|
|
|
pyjwt
|
|
|
|
uvicorn
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|