Files
nixpkgs/pkgs/development/python-modules/decorator/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

31 lines
615 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "decorator";
version = "5.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Y3mWIRA2tjhe+RQ15PriKYlHL51XH6uoknuoJTrLwzA=";
};
pythonImportsCheck = [ "decorator" ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "src/tests/test.py" ];
meta = with lib; {
homepage = "https://github.com/micheles/decorator";
description = "Better living through Python with decorators";
license = licenses.bsd2;
maintainers = [ ];
};
}