depot/third_party/nixpkgs/pkgs/development/python-modules/microdata/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

35 lines
675 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, html5lib
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "microdata";
version = "0.8.0";
src = fetchFromGitHub {
owner = "edsu";
repo = "microdata";
rev = "v${version}";
hash = "sha256-BAygCLBLxZ033ZWRFSR52dSM2nPY8jXplDXQ8WW3KPo=";
};
propagatedBuildInputs = [
html5lib
];
nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [ "microdata" ];
meta = with lib; {
description = "Library for extracting html microdata";
homepage = "https://github.com/edsu/microdata";
license = licenses.cc0;
maintainers = with maintainers; [ ambroisie ];
};
}