19 buildPythonPackage rec {
24 disabled = pythonOlder "3.8";
26 src = fetchFromGitHub {
27 owner = "scrapinghub";
29 rev = "refs/tags/v${version}";
30 hash = "sha256-CfhIqbhrZkJ232grhHxrmj4H1/Bq33ZXe8kovSOWSK0=";
33 nativeBuildInputs = [ setuptools ];
35 propagatedBuildInputs = [
51 pythonImportsCheck = [ "extruct" ];
54 # AssertionError: Lists differ
60 description = "Extract embedded metadata from HTML markup";
61 mainProgram = "extruct";
62 homepage = "https://github.com/scrapinghub/extruct";
63 changelog = "https://github.com/scrapinghub/extruct/blob/v${version}/HISTORY.rst";
64 license = licenses.bsd3;
65 maintainers = with maintainers; [ ambroisie ];