python3Packages.wurlitzer: migrate to pyproject (#532998)
This commit is contained in:
@@ -2,19 +2,24 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "wurlitzer";
|
||||
version = "3.1.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-v7kUSrnwJIfYArn/idvT+jgtCPc+EtuK3EwvsAzTm9k=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "wurlitzer" ];
|
||||
@@ -24,8 +29,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Capture C-level output in context managers";
|
||||
homepage = "https://github.com/minrk/wurlitzer";
|
||||
changelog = "https://github.com/minrk/wurlitzer/blob/${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/minrk/wurlitzer/blob/${finalAttrs.version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user