1{ stdenv, fetchPypi, buildPythonPackage, pytest }:
2
3buildPythonPackage rec {
4 version = "1.0.0";
5 pname = "pluginbase";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "497894df38d0db71e1a4fbbfaceb10c3ef49a3f95a0582e11b75f8adaa030005";
10 };
11
12 checkInputs = [ pytest ];
13
14 checkPhase = ''
15 cd tests
16 PYTHONPATH=.. pytest
17 '';
18
19 meta = with stdenv.lib; {
20 homepage = "https://github.com/mitsuhiko/pluginbase";
21 description = "A support library for building plugins sytems in Python";
22 license = licenses.bsd3;
23 platforms = platforms.all;
24 };
25}