depot/third_party/nixpkgs/pkgs/development/python-modules/pluginbase/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

25 lines
575 B
Nix

{ lib, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
version = "1.0.1";
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 = "A support library for building plugins sytems in Python";
license = licenses.bsd3;
platforms = platforms.all;
};
}