diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-04-03 16:00:37 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-04-03 16:15:23 +0200 |
commit | 01bca861c2f5741de50f8ec966167101e957b5d4 (patch) | |
tree | 755fe75addef8f1f422de92fe46075d14e8623a7 /pkgs/development/python-modules/pluginbase | |
parent | 244fcfc85cdb8c4cdfa2e9fc9841d2e42458ca46 (diff) | |
download | nixpkgs-01bca861c2f5741de50f8ec966167101e957b5d4.tar nixpkgs-01bca861c2f5741de50f8ec966167101e957b5d4.tar.gz nixpkgs-01bca861c2f5741de50f8ec966167101e957b5d4.tar.bz2 nixpkgs-01bca861c2f5741de50f8ec966167101e957b5d4.tar.lz nixpkgs-01bca861c2f5741de50f8ec966167101e957b5d4.tar.xz nixpkgs-01bca861c2f5741de50f8ec966167101e957b5d4.tar.zst nixpkgs-01bca861c2f5741de50f8ec966167101e957b5d4.zip |
python.pkgs.pluginbase: run tests
Diffstat (limited to 'pkgs/development/python-modules/pluginbase')
-rw-r--r-- | pkgs/development/python-modules/pluginbase/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pluginbase/default.nix b/pkgs/development/python-modules/pluginbase/default.nix index 98d189d62b1..c0d44e2851e 100644 --- a/pkgs/development/python-modules/pluginbase/default.nix +++ b/pkgs/development/python-modules/pluginbase/default.nix @@ -1,16 +1,21 @@ -{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }: +{ stdenv, fetchPypi, buildPythonPackage, pytest }: buildPythonPackage rec { version = "1.0.0"; pname = "pluginbase"; - buildInputs = [ pytest tox ]; - src = fetchPypi { inherit pname version; sha256 = "497894df38d0db71e1a4fbbfaceb10c3ef49a3f95a0582e11b75f8adaa030005"; }; + checkInputs = [ pytest ]; + + checkPhase = '' + cd tests + PYTHONPATH=.. pytest + ''; + meta = with stdenv.lib; { homepage = https://github.com/mitsuhiko/pluginbase; description = "A support library for building plugins sytems in Python"; |