1{ lib, fetchPypi, buildPythonPackage, pytest }:
2
3buildPythonPackage rec {
4 version = "1.0.1";
5 pname = "pluginbase";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "ff6c33a98fce232e9c73841d787a643de574937069f0d18147028d70d7dee287";
10 };
11
12 nativeCheckInputs = [ pytest ];
13
14 checkPhase = ''
15 cd tests
16 PYTHONPATH=.. pytest
17 '';
18
19 meta = with 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}