nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 html5lib,
6 rdflib,
7 requests,
8 setuptools,
9}:
10
11buildPythonPackage (finalAttrs: {
12 pname = "pyrdfa3";
13 version = "3.6.5";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit (finalAttrs) pname version;
18 hash = "sha256-D8KP8UJq+AWxAK/3Fi22pD+iFeN/krzpsRO0Zf61Y+o=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 rdflib
25 html5lib
26 requests
27 ];
28
29 # Module has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "pyRdfa" ];
33
34 meta = {
35 description = "RDFa 1.1 distiller/parser library";
36 homepage = "https://github.com/prrvchr/pyrdfa3/";
37 changelog = "https://github.com/prrvchr/pyrdfa3/releases/tag/v${finalAttrs.version}";
38 license = lib.licenses.w3c;
39 maintainers = with lib.maintainers; [ ambroisie ];
40 };
41})