nixpkgs/pkgs/development/python-modules/lazy-object-proxy/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

37 lines
809 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "lazy-object-proxy";
version = "1.10.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-eCR7bUX0OlLvNcJbVYFFnoURciVAikEoo9r4v5ZIrGk=";
};
nativeBuildInputs = [ setuptools-scm ];
postPatch = ''
substituteInPlace pyproject.toml --replace ",<6.0" ""
substituteInPlace setup.cfg --replace ",<6.0" ""
'';
nativeCheckInputs = [ pytestCheckHook ];
# Broken tests. Seem to be fixed upstream according to Travis.
doCheck = false;
meta = with lib; {
description = "Fast and thorough lazy object proxy";
homepage = "https://github.com/ionelmc/python-lazy-object-proxy";
license = with licenses; [ bsd2 ];
};
}