wakatime: 10.0.1 -> 10.1.0

This commit is contained in:
Jörg Thalheim 2018-01-16 08:10:22 +00:00
parent b6a90700b8
commit 03b43c0325

View File

@ -1,17 +1,26 @@
{ stdenv, buildPythonApplication, fetchFromGitHub }: { stdenv, python3Packages, fetchFromGitHub, glibcLocales }:
with python3Packages;
buildPythonApplication rec { buildPythonApplication rec {
name = "wakatime-${version}"; name = "wakatime-${version}";
version = "10.0.1"; version = "10.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wakatime"; owner = "wakatime";
repo = "wakatime"; repo = "wakatime";
rev = version; rev = version;
sha256 = "1bg8fzd3rdc6na0a7z1d55m2gbnfq6d72mf2jlyzc817r6dr4bfx"; sha256 = "0mq1b5hwm03jz1mhlfiwi8k5r6556r1nfv9h7qs3y32zrj9mvifv";
}; };
# needs more dependencies from https://github.com/wakatime/wakatime/blob/191b302bfb5f272ae928c6d3867d06f3dfcba4a8/dev-requirements.txt
# especially nose-capturestderr, which we do not package yet.
doCheck = false; doCheck = false;
checkInputs = [ mock testfixtures pytest glibcLocales ];
checkPhase = ''
export HOME=$(mktemp -d) LC_ALL=en_US.utf-8
pytest tests
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit (src.meta) homepage; inherit (src.meta) homepage;