watson: init at 1.4.0

This commit is contained in:
Maximilian Güntner 2017-05-04 18:11:36 +02:00
parent 401ace9cd3
commit de53284cbd
No known key found for this signature in database
GPG Key ID: 5D667E0FD0397CFF
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, pythonPackages }:
pythonPackages.buildPythonApplication rec {
pname = "td-watson";
name = "${pname}-${version}";
version = "1.4.0";
src = pythonPackages.fetchPypi {
inherit version pname;
sha256 = "1py0g4990jmvq0dn7jasda7f10kzr41bix46hnbyc1rshjzc17hq";
};
# uses tox, test invocation fails
doCheck = true;
checkPhase = ''
py.test -vs tests
'';
checkInputs = with pythonPackages; [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
propagatedBuildInputs = with pythonPackages; [ requests2 click arrow ];
meta = with stdenv.lib; {
homepage = https://tailordev.github.io/Watson/;
description = "A wonderful CLI to track your time!";
license = licenses.mit;
maintainers = with maintainers; [ mguentner ] ;
};
}

View File

@ -16193,6 +16193,10 @@ with pkgs;
imlib2 = imlib2-nox;
};
watson = callPackage ../applications/office/watson {
pythonPackages = python3Packages;
};
way-cooler = callPackage ../applications/window-managers/way-cooler {};
wayv = callPackage ../tools/X11/wayv {};