mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00

Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
27 lines
600 B
Nix
27 lines
600 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 = "A support library for building plugins sytems in Python";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|