Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.pytest-watch: init at 4.2.0 #63007

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
7227c51
pytest-testmon: init at 0.9.16
dmvianna Jun 12, 2019
1675172
pytest-watch: init at 4.2.0
dmvianna Jun 12, 2019
53e81f6
pytest-watch: init at 4.2.0--amend
dmvianna Jun 12, 2019
5acf8a9
fix pytest-testmon derivation for all Python versions
dmvianna Jun 13, 2019
7cc8396
moving maintainer to separate pull request
dmvianna Jun 13, 2019
a3512ce
fix pytest-watch for all Python versions
dmvianna Jun 13, 2019
5f435e5
Merge branch 'master' of https://github.com/nixos/nixpkgs into pytest…
dmvianna Jun 13, 2019
97752d7
pytest-testmon: fix buildInputs, propagatedBuildInputs and checkPhase
dmvianna Jun 13, 2019
babb368
pytest-watch: fix buildInputs and propagatedBuildInputs
dmvianna Jun 13, 2019
9903f21
pytest-watch: remove pythonPackages
dmvianna Jun 14, 2019
3460674
pytest-testmon: remove pythonPackages
dmvianna Jun 14, 2019
1063b16
Merge branch 'master' of https://github.com/nixos/nixpkgs into pytest…
dmvianna Jun 14, 2019
17c45f5
fix derivation arguments
dmvianna Jun 14, 2019
ea05d28
Update pkgs/development/python-modules/pytest-watch/default.nix
dmvianna Jun 16, 2019
748c6e8
Update pkgs/development/python-modules/pytest-watch/default.nix
dmvianna Jun 16, 2019
0fb5d7b
Update pkgs/development/python-modules/pytest-watch/default.nix
dmvianna Jun 16, 2019
2c110d3
Update pkgs/development/python-modules/pytest-testmon/default.nix
dmvianna Jun 16, 2019
f8ddd8b
Update pkgs/development/python-modules/pytest-testmon/default.nix
dmvianna Jun 16, 2019
cb459a9
Update pkgs/development/python-modules/pytest-testmon/default.nix
dmvianna Jun 16, 2019
c56d7de
Merge branch 'master' of https://github.com/nixos/nixpkgs into pytest…
dmvianna Jun 16, 2019
918e142
Merge branch 'master' of https://github.com/nixos/nixpkgs into pytest…
dmvianna Jun 16, 2019
9135839
remove pkgs
dmvianna Jun 16, 2019
b9cfa83
merge ustream
dmvianna Jun 16, 2019
cfd470d
add pytest to buildInputs -- build dependency
dmvianna Jun 16, 2019
04b7c8f
remove duplicate checkInputs
dmvianna Jun 16, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/pytest-testmon/default.nix
@@ -0,0 +1,32 @@
{ pkgs
dmvianna marked this conversation as resolved.
Show resolved Hide resolved
, lib
, pythonPackages
dmvianna marked this conversation as resolved.
Show resolved Hide resolved
dmvianna marked this conversation as resolved.
Show resolved Hide resolved
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
pname = "pytest-testmon";
version = "0.9.16";

src = fetchPypi {
inherit pname version;
sha256 = "df00594e55f8f8f826e0e345dc23863ebac066eb749f8229c515a0373669c5bb";
};

buildInputs = [ pytest ];
dmvianna marked this conversation as resolved.
Show resolved Hide resolved
propagatedBuildInputs = [ coverage ];
checkInputs = [ pytest ];
checkPhase = ''
pytest test
'';
dmvianna marked this conversation as resolved.
Show resolved Hide resolved

meta = with lib; {
homepage = "https://github.com/tarpas/pytest-testmon/";
description = "This is a py.test plug-in which automatically selects and re-executes only tests affected by recent changes";
license = licenses.mit;
maintainers = [ maintainers.dmvianna ];
};
}

30 changes: 30 additions & 0 deletions pkgs/development/python-modules/pytest-watch/default.nix
@@ -0,0 +1,30 @@
{ lib
, pkgs
dmvianna marked this conversation as resolved.
Show resolved Hide resolved
, pythonPackages
dmvianna marked this conversation as resolved.
Show resolved Hide resolved
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
pname = "pytest-watch";
version = "4.2.0";

src = fetchPypi {
inherit pname version;
sha256 = "06136f03d5b361718b8d0d234042f7b2f203910d8568f63df2f866b547b3d4b9";
};

# No Tests
doCheck = false;
buildInputs = [ pytest ];
dmvianna marked this conversation as resolved.
Show resolved Hide resolved
propagatedBuildInputs = [ colorama docopt watchdog ];

meta = with lib; {
homepage = "https://github.com/joeyespo/pytest-watch";
description = "Local continuous test runner with pytest and watchdog";
license = licenses.mit;
maintainers = with maintainers; [ dmvianna ];
};
}

4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -823,6 +823,8 @@ in {

pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };

pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };

pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };

python-binance = callPackage ../development/python-modules/python-binance { };
Expand Down Expand Up @@ -1745,6 +1747,8 @@ in {

pytest-warnings = callPackage ../development/python-modules/pytest-warnings { };

pytest-watch = callPackage ../development/python-modules/pytest-watch { };

pytestpep8 = callPackage ../development/python-modules/pytest-pep8 { };

pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { };
Expand Down