mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
Merge pull request #63972 from nathyong/update-td-watson
watson: 1.5.2 -> 1.7.0
This commit is contained in:
commit
d9b7cfdb51
@ -3564,6 +3564,11 @@
|
||||
github = "nathan-gs";
|
||||
name = "Nathan Bijnens";
|
||||
};
|
||||
nathyong = {
|
||||
email = "nathyong@noreply.github.com";
|
||||
github = "nathyong";
|
||||
name = "Nathan Yong";
|
||||
};
|
||||
nckx = {
|
||||
email = "github@tobias.gr";
|
||||
github = "nckx";
|
||||
|
@ -3,27 +3,19 @@
|
||||
with pythonPackages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "td-watson";
|
||||
version = "1.5.2";
|
||||
pname = "watson";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
sha256 = "6e03d44a9278807fe5245e9ed0943f13ffb88e11249a02655c84cb86260b27c8";
|
||||
inherit version;
|
||||
pname = "td-watson";
|
||||
sha256 = "249313996751f32f38817d424cbf8d74956461df1439f0ee3a962fcc3c77225d";
|
||||
};
|
||||
|
||||
# uses tox, test invocation fails
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
py.test -vs tests
|
||||
pytest -vs tests
|
||||
'';
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = https://github.com/TailorDev/Watson/commit/f5760c71cbc22de4e12ede8f6f7257515a9064d3.patch;
|
||||
sha256 = "0s9h26915ilpbd0qhmvk77r3gmrsdrl5l7dqxj0l5q66fp0z6b0g";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
|
||||
propagatedBuildInputs = [ requests click arrow ];
|
||||
|
||||
@ -31,6 +23,6 @@ buildPythonApplication rec {
|
||||
homepage = https://tailordev.github.io/Watson/;
|
||||
description = "A wonderful CLI to track your time!";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mguentner ] ;
|
||||
maintainers = with maintainers; [ mguentner nathyong ] ;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user