nixpkgs/pkgs/development/python-modules/soupsieve/default.nix
natsukium b9b3be8e09
python310Packages.backports_functools_lru_cache: remove
we no longer need to backport to python3.2
2023-07-28 23:47:36 +09:00

35 lines
694 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, hatchling
, isPy3k
}:
buildPythonPackage rec {
pname = "soupsieve";
version = "2.4";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-4o26nKbHwAFz405LpXRI8GiLtoG3xei/SXHar8CT1po=";
};
nativeBuildInputs = [
hatchling
];
# Circular dependency on beautifulsoup4
doCheck = false;
# Circular dependency on beautifulsoup4
# pythonImportsCheck = [ "soupsieve" ];
meta = with lib; {
description = "A CSS4 selector implementation for Beautiful Soup";
license = licenses.mit;
homepage = "https://github.com/facelessuser/soupsieve";
maintainers = with maintainers; [ ];
};
}