python3Packages.interruptingcow: migrate to pyproject, enable __structuredAttrs, use finalAttrs (#530352)
This commit is contained in:
@@ -2,21 +2,28 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "interruptingcow";
|
||||
version = "0.8";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
sha256 = "3e8cd5058b651e625702cba53e3b1fb76d7a5ec07ab69c52a167a9f784e3306c";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Watchdog that interrupts long running code";
|
||||
homepage = "https://bitbucket.org/evzijst/interruptingcow";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ benley ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user