fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
34 lines
726 B
Nix
34 lines
726 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
html5lib,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "microdata";
|
|
version = "0.8.0";
|
|
format = "setuptools";
|
|
|
|
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";
|
|
mainProgram = "microdata";
|
|
homepage = "https://github.com/edsu/microdata";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ ambroisie ];
|
|
};
|
|
}
|