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