Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 813 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, contextlib2 6, pytest 7, pytestCheckHook 8, vcrpy 9, citeproc-py 10, requests 11, setuptools 12, six 13}: 14 15buildPythonPackage rec { 16 pname = "duecredit"; 17 version = "0.8.1"; 18 disabled = isPy27; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "43b3f01ab5fb2bf2ecc27d3fcf92b873c6b288f44becef3e2e87c96cb89d7b01"; 23 }; 24 25 # bin/duecredit requires setuptools at runtime 26 propagatedBuildInputs = [ citeproc-py requests setuptools six ]; 27 28 checkInputs = [ contextlib2 pytest pytestCheckHook vcrpy ]; 29 disabledTests = [ "test_io" ]; 30 31 meta = with lib; { 32 homepage = "https://github.com/duecredit/duecredit"; 33 description = "Simple framework to embed references in code"; 34 license = licenses.bsd2; 35 maintainers = with maintainers; [ bcdarwin ]; 36 }; 37}