13 buildPythonPackage rec {
18 disabled = pythonOlder "3.6";
21 inherit pname version;
22 hash = "sha256-Dg/Yfp5GzmyUMI6feAwgP+g22JYoQE+L9a+Wp0V77Rw=";
25 nativeBuildInputs = [ setuptools ];
26 propagatedBuildInputs = [ citeproc-py requests six ];
28 nativeCheckInputs = [ pytestCheckHook vcrpy ];
29 disabledTests = [ "test_import_doi" ]; # tries to access network
32 export HOME=$(mktemp -d)
35 pythonImportsCheck = [ "duecredit" ];
38 homepage = "https://github.com/duecredit/duecredit";
39 description = "Simple framework to embed references in code";
40 changelog = "https://github.com/duecredit/duecredit/releases/tag/${version}";
41 license = licenses.bsd2;
42 maintainers = with maintainers; [ bcdarwin ];