2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pytest }:
|
2017-04-13 00:38:01 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-02-14 07:37:24 +00:00
|
|
|
version = "1.0.0";
|
2017-04-13 00:38:01 +01:00
|
|
|
pname = "pluginbase";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:24 +00:00
|
|
|
sha256 = "497894df38d0db71e1a4fbbfaceb10c3ef49a3f95a0582e11b75f8adaa030005";
|
2017-04-13 00:38:01 +01:00
|
|
|
};
|
|
|
|
|
2019-04-03 15:00:37 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd tests
|
|
|
|
PYTHONPATH=.. pytest
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mitsuhiko/pluginbase";
|
2017-04-13 00:38:01 +01:00
|
|
|
description = "A support library for building plugins sytems in Python";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|