bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
31 lines
607 B
Nix
31 lines
607 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
pname = "pluginbase";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ff6c33a98fce232e9c73841d787a643de574937069f0d18147028d70d7dee287";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
cd tests
|
|
PYTHONPATH=.. pytest
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mitsuhiko/pluginbase";
|
|
description = "Support library for building plugins sytems in Python";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|