mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
31 lines
751 B
Nix
31 lines
751 B
Nix
{ stdenv, pythonPackages, fetchpatch }:
|
|
|
|
with pythonPackages;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "watson";
|
|
version = "1.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "td-watson";
|
|
sha256 = "249313996751f32f38817d424cbf8d74956461df1439f0ee3a962fcc3c77225d";
|
|
};
|
|
|
|
# uses tox, test invocation fails
|
|
doCheck = true;
|
|
checkPhase = ''
|
|
py.test -vs tests
|
|
'';
|
|
|
|
checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
|
|
propagatedBuildInputs = [ requests 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 nathyong ] ;
|
|
};
|
|
}
|