mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
watson: init at 1.4.0
This commit is contained in:
parent
401ace9cd3
commit
de53284cbd
27
pkgs/applications/office/watson/default.nix
Normal file
27
pkgs/applications/office/watson/default.nix
Normal 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 ] ;
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user